File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/org/eolang/lints Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ SOFTWARE.
144144 <dependency >
145145 <groupId >com.github.volodya-lombrozo</groupId >
146146 <artifactId >xnav</artifactId >
147- <version >0.1.3 </version >
147+ <version >0.1.4 </version >
148148 </dependency >
149149 <dependency >
150150 <groupId >org.apache.opennlp</groupId >
Original file line number Diff line number Diff line change 2424package org .eolang .lints ;
2525
2626import com .github .lombrozo .xnav .Filter ;
27- import com .github .lombrozo .xnav .Navigator ;
27+ import com .github .lombrozo .xnav .Xnav ;
2828import com .jcabi .xml .ClasspathSources ;
2929import com .jcabi .xml .XML ;
3030import com .jcabi .xml .XMLDocument ;
@@ -168,7 +168,7 @@ private int lineno(final XML defect) {
168168 * @return Name of the program.
169169 */
170170 private static String findName (final XML program ) {
171- return new Navigator (program .inner ())
171+ return new Xnav (program .inner ())
172172 .element ("program" )
173173 .attribute ("name" )
174174 .text ()
@@ -181,11 +181,11 @@ private static String findName(final XML program) {
181181 * @return Collection of defects.
182182 */
183183 private static Collection <XML > findDefects (final XML report ) {
184- return new Navigator (report .inner ())
184+ return new Xnav (report .inner ())
185185 .element ("defects" )
186186 .elements (Filter .withName ("defect" ))
187- .map (Navigator ::copy )
188- .map (Navigator ::node )
187+ .map (Xnav ::copy )
188+ .map (Xnav ::node )
189189 .map (XMLDocument ::new )
190190 .collect (Collectors .toList ());
191191 }
You can’t perform that action at this time.
0 commit comments