Pārlūkot izejas kodu

allTestsPassNow

Roy 6 gadus atpakaļ
vecāks
revīzija
80bf599333
2 mainītis faili ar 9 papildinājumiem un 9 dzēšanām
  1. 1
    1
      StringUtilities.java
  2. 8
    8
      package.bluej

+ 1
- 1
StringUtilities.java Parādīt failu

@@ -93,7 +93,7 @@ public class StringUtilities {
93 93
      * @return an identical string with spaces removed.
94 94
      */
95 95
     public String removeWhitespace(String input){
96
-        return null;
96
+        return input.replaceAll("\\s", "");
97 97
     }
98 98
 
99 99
     /**

+ 8
- 8
package.bluej Parādīt failu

@@ -1,17 +1,17 @@
1 1
 #BlueJ package file
2
-dependency1.from=StringUtilitiesTest
3
-dependency1.to=StringUtilities
2
+dependency1.from=PredicateUtilitiesTest
3
+dependency1.to=PredicateUtilities
4 4
 dependency1.type=UsesDependency
5
-dependency2.from=PredicateUtilitiesTest
6
-dependency2.to=PredicateUtilities
5
+dependency2.from=StringUtilitiesTest
6
+dependency2.to=StringUtilities
7 7
 dependency2.type=UsesDependency
8 8
 dependency3.from=MathUtilitiesTest
9 9
 dependency3.to=MathUtilities
10 10
 dependency3.type=UsesDependency
11
-editor.fx.0.height=0
12
-editor.fx.0.width=0
13
-editor.fx.0.x=0
14
-editor.fx.0.y=0
11
+editor.fx.0.height=709
12
+editor.fx.0.width=800
13
+editor.fx.0.x=240
14
+editor.fx.0.y=23
15 15
 objectbench.height=145
16 16
 objectbench.width=776
17 17
 package.divider.horizontal=0.6