Skip to content

Commit

Permalink
minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbeskrovnyi committed Aug 29, 2017
1 parent 8f672f8 commit daeff35
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
Binary file modified .gradle/3.5-rc-2/taskHistory/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/3.5-rc-2/taskHistory/fileSnapshots.bin
Binary file not shown.
Binary file modified .gradle/3.5-rc-2/taskHistory/jvmClassSignatures.bin
Binary file not shown.
Binary file modified .gradle/3.5-rc-2/taskHistory/taskHistory.bin
Binary file not shown.
Binary file modified .gradle/3.5-rc-2/taskHistory/taskHistory.lock
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/ua/comparison/image/ImageComparison.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static void main( String[] args ) throws IOException, URISyntaxException
* Draw rectangles which cover the regions of the difference pixels.
* @return the result of the drawing.
*/
public BufferedImage compareImages() throws IOException, URISyntaxException {
BufferedImage compareImages() throws IOException, URISyntaxException {
// check images for valid
checkCorrectImageSize( image1, image2 );

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/ua/comparison/image/ImageComparisonTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public static boolean isDifferent( int x, int y, BufferedImage image1, BufferedI
}

/**
* Create a {@code Rectangle} object.
* Create a {@link Rectangle} object.
* @param matrix the matrix of the Conformity pixels.
* @param counter the number from marks regions.
* @return the {@code Rectangle} object.
* @return the {@link Rectangle} object.
*/
public static Rectangle createRectangle(int[][] matrix, int counter ) {
ua.comparison.image.model.Rectangle rect = new Rectangle();
Rectangle rect = new Rectangle();

for ( int y = 0; y < matrix.length; y++ ) {
for ( int x = 0; x < matrix[0].length; x++ ) {
Expand Down

0 comments on commit daeff35

Please sign in to comment.