Skip to content

Commit f1188a9

Browse files
committed
HoughLineTest: Formatting
1 parent 8f274a6 commit f1188a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/net/imglib2/algorithm/hough/HoughLineTransformTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ public < T extends RealType< T > > void testHoughLineTransformToTarget() throws
119119
HoughTransforms.voteLines( tpImg, votespace );
120120

121121
// compare expected / actual dimensions
122-
int height = groundTruth.getHeight();
123-
int width = groundTruth.getWidth();
122+
final int height = groundTruth.getHeight();
123+
final int width = groundTruth.getWidth();
124124
assertEquals( "Ground truth and result height do not match.", height, outputDims[ 1 ] );
125125
assertEquals( "Ground truth and result width do not match.", width, outputDims[ 0 ] );
126126

@@ -154,8 +154,8 @@ public < T extends RealType< T > > void testPickPeaks()
154154
final UnsignedByteType minPeak = Util.getTypeFromInterval( votespace ).createVariable();
155155
minPeak.setReal( 10 );
156156

157-
List< Point > peaks = HoughTransforms.pickLinePeaks( votespace, minPeak );
158-
for ( Point p : peaks )
157+
final List< Point > peaks = HoughTransforms.pickLinePeaks( votespace, minPeak );
158+
for ( final Point p : peaks )
159159
{
160160
// assert dimension 0
161161
assertEquals( expected[ index++ ], p.getLongPosition( 0 ), 0 );

0 commit comments

Comments
 (0)