mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class.
git-svn-id: https://zxing.googlecode.com/svn/trunk@328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
93db610970
commit
87f79c076c
|
@ -29,22 +29,18 @@ public class BitmapCamera implements CameraSource {
|
||||||
paint.setAntiAlias(true);
|
paint.setAntiAlias(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getWidth() {
|
public int getWidth() {
|
||||||
return bounds.right;
|
return bounds.right;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getHeight() {
|
public int getHeight() {
|
||||||
return bounds.bottom;
|
return bounds.bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean open() {
|
public boolean open() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean capture(Canvas canvas) {
|
public boolean capture(Canvas canvas) {
|
||||||
if (
|
if (
|
||||||
bounds.right == bitmap.width() &&
|
bounds.right == bitmap.width() &&
|
||||||
|
@ -56,7 +52,6 @@ public class BitmapCamera implements CameraSource {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void close() {
|
public void close() {
|
||||||
/* nothing to do */
|
/* nothing to do */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue