From b0b0afc17239fe2ba3309da4d6828e283521ffb4 Mon Sep 17 00:00:00 2001 From: srowen Date: Sat, 4 Oct 2008 14:46:15 +0000 Subject: [PATCH] Added redundant abstract method declarations to maybe work around problems on Nokias git-svn-id: https://zxing.googlecode.com/svn/trunk@599 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../google/zxing/common/BaseMonochromeBitmapSource.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/com/google/zxing/common/BaseMonochromeBitmapSource.java b/core/src/com/google/zxing/common/BaseMonochromeBitmapSource.java index f9a4b6f54..819274e59 100644 --- a/core/src/com/google/zxing/common/BaseMonochromeBitmapSource.java +++ b/core/src/com/google/zxing/common/BaseMonochromeBitmapSource.java @@ -119,4 +119,12 @@ public abstract class BaseMonochromeBitmapSource implements MonochromeBitmapSour return false; } + // These two methods should not need to exist because they are defined in the interface that + // this abstract class implements. However this seems to cause problems on some Nokias. + // So we write these redundant declarations. + + public abstract int getHeight(); + + public abstract int getWidth(); + }