package ru.nivanov;

/**
 * Creating calculator.
 * @author nivanov.
 * @since
 * @version
 */

public class Calculator {
	/**
	*/
	private double result;
	/**
	* summ.
	* @param first ..
	* @param second ..
	*/
	public void add(double first, double second) {
		this.result = first + second;
	}
	/**
	* subtract.
	* @param first ..
	* @param second ..
	*/
	public void subtract(double first, double second) {
		this.result = first - second;
	}
	/**
	* multiple.
	* @param first ..
	* @param second ..
	*/
	public void multiple(double first, double second) {
		this.result = first * second;
	   }
	/**
	* division.
	* @param first ..
	* @param second ..
	*/
	public void div(double first, double second) {
		if (second == 0d) {
			System.out.println("Zero division!");
		} else {
	   this.result = first / second;
	   }
	}
	/**
	* getter.
	* @return result
	*/
	public double getResult() {
		  return this.result;
	}
}
@@ -119,17 +119,8 @@
 r %7B%0A
-%09/**%0A%09*/%0A
 %09pri
@@ -810,46 +810,8 @@
 %0A%09%7D%0A
-%09/**%0A%09* getter.%0A%09* @return result%0A%09*/%0A
 %09pub

fix err