Touch up whitespace and other small issues from inspection

This commit is contained in:
Sean Owen 2014-06-28 22:34:37 +01:00
parent 15b4dedb98
commit 6c2a9b016c
9 changed files with 13 additions and 15 deletions

View file

@ -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 * 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. * 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) { public static void orderBestPatterns(ResultPoint[] patterns) {

View file

@ -95,7 +95,7 @@ public enum CharacterSetECI {
/** /**
* @param value character set ECI value * @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 * unsupported
* @throws FormatException if ECI value is invalid * @throws FormatException if ECI value is invalid
*/ */

View file

@ -16,8 +16,7 @@
package com.google.zxing.oned; package com.google.zxing.oned;
import static org.junit.Assert.assertEquals; import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@ -26,7 +25,7 @@ import com.google.zxing.Writer;
import com.google.zxing.WriterException; import com.google.zxing.WriterException;
import com.google.zxing.common.BitMatrix; import com.google.zxing.common.BitMatrix;
public class Code128WriterTestCase { public class Code128WriterTestCase extends Assert {
private static final String FNC1 = "11110101110"; private static final String FNC1 = "11110101110";
private static final String FNC2 = "11110101000"; private static final String FNC2 = "11110101000";
@ -91,7 +90,7 @@ public class Code128WriterTestCase {
assertEquals(expected, actual); assertEquals(expected, actual);
} }
private String matrixToString(BitMatrix result) { private static String matrixToString(BitMatrix result) {
StringBuilder builder = new StringBuilder(result.getWidth()); StringBuilder builder = new StringBuilder(result.getWidth());
for (int i = 0; i < result.getWidth(); i++) { for (int i = 0; i < result.getWidth(); i++) {
builder.append(result.get(i, 0) ? '1' : '0'); builder.append(result.get(i, 0) ? '1' : '0');

View file

@ -1,10 +1,9 @@
body{ body{
background-color:#404040; background: #404040 url("img/bg.png");
text-align:center; text-align:center;
color:#FFF; color:#FFF;
font-size: 20px; font-size: 20px;
font-family: 'Droid Sans',sans-serif; font-family: 'Droid Sans',sans-serif;
background-image:url("img/bg.png");
} }
a img{ a img{
border:0; border:0;