package ru.ematveev.arraydublicate;

public class ArrayDublicate{

	public String [] arrayDublicate(String [] array){

			int x = array.length;    
			
			for(int i = 0; i < x; i++){
					
				for(int j = 1; j < x; j++){
					if(array[i] != null){	
							
						if(array[i]==array[j+i]){
							array[j+1] = null;
							}				 				

						}
					
					}

							x--;
				}
					return array;
	}
}






@@ -271,10 +271,16 @@
 y%5Bi%5D
-==
+.equals(
 arra
@@ -286,16 +286,17 @@
 ay%5Bj+i%5D)
+)
 %7B%0A%09%09%09%09%09%09

change ArrayDublicate.java