Seth 6 anos atrás
pai
commit
57b5c95bae

+ 0
- 28
src/main/java/com/zipcodewilmington/StringArrayUtils.java Ver arquivo

@@ -180,34 +180,6 @@ public class StringArrayUtils {
180 180
         //tempArray[newIdx] = array[array.length - 1];
181 181
         return Arrays.copyOf(tempArray, newIdx + 1);
182 182
 
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-        /*String[] tempArray = new String[array.length];
195
-        int newIdx = 0;
196
-        String last  = array[0];
197
-        String next = "";
198
-        String set = "";
199
-        for(int i = 0; i < array.length - 1; i++){
200
-             next = array[i+1];
201
-            if(next.equals(last)){
202
-                set += last;
203
-                last = array[i+1];
204
-
205
-            } else {
206
-                tempArray[newIdx] = set;
207
-                set ="";
208
-                newIdx++;
209
-            }*/
210
-        //return Arrays.copyOf(tempArray, newIdx + 1);
211 183
     }
212 184
 
213 185