mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Touch up whitespace and other small issues from inspection
This commit is contained in:
parent
15b4dedb98
commit
6c2a9b016c
|
@ -71,7 +71,7 @@ public class ResultPoint {
|
|||
* Orders an array of three ResultPoints in an order [A,B,C] such that AB is less than AC
|
||||
* and BC is less than AC, and the angle between BC and BA is less than 180 degrees.
|
||||
*
|
||||
* @param patterns array of three {@link ResultPoint} to order
|
||||
* @param patterns array of three {@code ResultPoint} to order
|
||||
*/
|
||||
public static void orderBestPatterns(ResultPoint[] patterns) {
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ public enum CharacterSetECI {
|
|||
|
||||
/**
|
||||
* @param value character set ECI value
|
||||
* @return {@link CharacterSetECI} representing ECI of given value, or null if it is legal but
|
||||
* @return {@code CharacterSetECI} representing ECI of given value, or null if it is legal but
|
||||
* unsupported
|
||||
* @throws FormatException if ECI value is invalid
|
||||
*/
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
|
||||
package com.google.zxing.oned;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -26,7 +25,7 @@ import com.google.zxing.Writer;
|
|||
import com.google.zxing.WriterException;
|
||||
import com.google.zxing.common.BitMatrix;
|
||||
|
||||
public class Code128WriterTestCase {
|
||||
public class Code128WriterTestCase extends Assert {
|
||||
|
||||
private static final String FNC1 = "11110101110";
|
||||
private static final String FNC2 = "11110101000";
|
||||
|
@ -91,7 +90,7 @@ public class Code128WriterTestCase {
|
|||
assertEquals(expected, actual);
|
||||
}
|
||||
|
||||
private String matrixToString(BitMatrix result) {
|
||||
private static String matrixToString(BitMatrix result) {
|
||||
StringBuilder builder = new StringBuilder(result.getWidth());
|
||||
for (int i = 0; i < result.getWidth(); i++) {
|
||||
builder.append(result.get(i, 0) ? '1' : '0');
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
body{
|
||||
background-color:#404040;
|
||||
background: #404040 url("img/bg.png");
|
||||
text-align:center;
|
||||
color:#FFF;
|
||||
font-size: 20px;
|
||||
font-family: 'Droid Sans',sans-serif;
|
||||
background-image:url("img/bg.png");
|
||||
}
|
||||
a img{
|
||||
border:0;
|
||||
|
|
Loading…
Reference in a new issue