package ru.job4j.loop;

/**
* Class for generate different counters.
* @author Eugene Lazarev mailto(helycopternicht@rambler.ru)
* @since 23.03.2017
*/
public class Counter {
	/**
	* Method returns summ of even numbers in range
	* between start and finish numers include finish.
	* @param start - begin of range
	* @param finish - end of range
	* @return int summ of all even numbers in range
	*/
	public int add(int start, int finish) {
		int summ = 0;
		for (int i = start; i <= finish; i++) {
			if (i % 2 != 0) {
				continue;
			}

			summ += i;
		}
		return summ;
	}
}
@@ -506,9 +506,9 @@
 %25 2 
-!
+=
 = 0)
@@ -518,37 +518,26 @@
 %09%09%09%09
-continue
+summ += i
 ;%0A%09%09%09%7D
-%0A%0A
 %09%09%09
-summ += i;
 %0A%09%09%7D

Fix formatting of method