package ru.alexandr;
	import java.util.Arrays;
	/**
	* DeleteDuble.
	* @author Alexander Golubev.
	* @since 26.12.2016
	* @version 1.0
	*/
public class DeleteDuble {
	/**
	* Метод удаляет дублирующие строки.
	* @param words массив.
	* @return result - возвращает результат.
	*/
	public String[] delete(String[] words) {
		String[] word = Arrays.copyOf(words, 2);
		for (int i = 0; i < word.length; i++) {
			String temp = word[i];
		}
		return word;
	}
}
@@ -313,16 +313,438 @@
 ords) %7B%0A
+%09%09String temp;%0A%09%09for (int i = 0; i %3C words.length; i++) %7B%0A%09%09%09for (int j = i + 1; j %3C words.length; j++) %7B%0A%09%09%09%09if (words%5Bi%5D != null && words%5Bi%5D.equals(words%5Bj%5D)) %7B%0A%09%09%09%09%09words%5Bj%5D = null;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09for (int i = 0; i %3C words.length - 1; i++) %7B%0A%09%09%09for (int j = 0; j %3C words.length - 1 - i; j++) %7B%0A%09%09%09%09if (words%5Bj%5D == null && words%5Bj + 1%5D != null) %7B%0A%09%09%09%09%09words%5Bj%5D = words%5Bj + 1%5D;%0A%09%09%09%09%09words%5Bj + 1%5D = null;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A
 %09%09String
@@ -823,23 +823,16 @@
 +) %7B%0A%09%09%09
-String 
 temp = w

add DeleteDuble.java