mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 11:47:26 -08:00
Fix one code warning; update plugins
This commit is contained in:
parent
77fb240beb
commit
f6a1e20e1b
|
@ -54,7 +54,7 @@ final class DetectionResultRowIndicatorColumn extends DetectionResultColumn {
|
|||
int lastRow = imageRowToCodewordIndex((int) bottom.getY());
|
||||
// We need to be careful using the average row height. Barcode could be skewed so that we have smaller and
|
||||
// taller rows
|
||||
float averageRowHeight = (lastRow - firstRow) / (float) barcodeMetadata.getRowCount();
|
||||
//float averageRowHeight = (lastRow - firstRow) / (float) barcodeMetadata.getRowCount();
|
||||
int barcodeRow = -1;
|
||||
int maxRowHeight = 1;
|
||||
int currentRowHeight = 0;
|
||||
|
@ -139,7 +139,7 @@ final class DetectionResultRowIndicatorColumn extends DetectionResultColumn {
|
|||
ResultPoint bottom = isLeft ? boundingBox.getBottomLeft() : boundingBox.getBottomRight();
|
||||
int firstRow = imageRowToCodewordIndex((int) top.getY());
|
||||
int lastRow = imageRowToCodewordIndex((int) bottom.getY());
|
||||
float averageRowHeight = (lastRow - firstRow) / (float) barcodeMetadata.getRowCount();
|
||||
//float averageRowHeight = (lastRow - firstRow) / (float) barcodeMetadata.getRowCount();
|
||||
Codeword[] codewords = getCodewords();
|
||||
int barcodeRow = -1;
|
||||
int maxRowHeight = 1;
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -405,7 +405,7 @@
|
|||
<plugin>
|
||||
<groupId>com.simpligility.maven.plugins</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
<version>4.4.2</version>
|
||||
<version>4.4.3</version>
|
||||
<extensions>true</extensions>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -494,7 +494,7 @@
|
|||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.11</version>
|
||||
<version>1.12</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</parent>
|
||||
|
||||
<properties>
|
||||
<gwt.version>2.8.0-beta1</gwt.version>
|
||||
<gwt.version>2.8.0-rc1</gwt.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
|
Loading…
Reference in a new issue