Skip to content

Commit 61ab68f

Browse files
Auto format
1 parent 6e1e03e commit 61ab68f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/main/java/io/github/pseudoresonance/pixy2api/Pixy2Line.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public byte getFeatures(byte type, byte features, boolean wait) {
104104
vectors = null;
105105
intersections = null;
106106
barcodes = null;
107-
107+
108108
long start = System.currentTimeMillis();
109109

110110
while (true) {
@@ -141,8 +141,7 @@ public byte getFeatures(byte type, byte features, boolean wait) {
141141
int arr = ((size * i) + 4);
142142
int index = fdata[arr + (4 * l)];
143143
int reserved = fdata[arr + (4 * l) + 1];
144-
short angle = (short) (
145-
((fdata[arr + (4 * l) + 3] & 0xff) << 8)
144+
short angle = (short) (((fdata[arr + (4 * l) + 3] & 0xff) << 8)
146145
| (fdata[arr + (4 * l) + 2] & 0xff));
147146
IntersectionLine intLine = new IntersectionLine(index, reserved, angle);
148147
lines[l] = intLine;
@@ -203,7 +202,7 @@ public Intersection[] getIntersections() {
203202
return intersections;
204203
}
205204

206-
/**
205+
/**
207206
* Gets detected barcodes from cache
208207
*
209208
* @return Pixy2 Barcodes

0 commit comments

Comments
 (0)