File tree Expand file tree Collapse file tree
json/src/main/java/alpine/json Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,16 +95,16 @@ public boolean has(Element element) {
9595 return this .elements .contains (element );
9696 }
9797
98- public boolean has (String value ) {
99- return this .has (string (value ));
98+ public boolean has (boolean value ) {
99+ return this .has (bool (value ));
100100 }
101101
102102 public boolean has (Number value ) {
103103 return this .has (number (value ));
104104 }
105105
106- public boolean has (boolean value ) {
107- return this .has (bool (value ));
106+ public boolean has (String value ) {
107+ return this .has (string (value ));
108108 }
109109
110110 public void each (Consumer <Element > consumer ) {
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public boolean allValues(Predicate<Element> predicate) {
243243 return true ;
244244 }
245245
246- public boolean anyValues (Predicate <Element > predicate ) {
246+ public boolean anyValue (Predicate <Element > predicate ) {
247247 if (predicate == null ) {
248248 throw new IllegalArgumentException ("Predicate cannot be null!" );
249249 }
You can’t perform that action at this time.
0 commit comments