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