File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/configuration Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1441,6 +1441,7 @@ public static Configuration makeXMLStringAsConfiguration(String xmlconfig) throw
1441
1441
return ret ;
1442
1442
}
1443
1443
1444
+ @ SuppressWarnings ("lgtm[java/unsafe-deserialization]" )
1444
1445
private static Configuration decodeObject (InputStream in ) throws IOException {
1445
1446
final Object ret ;
1446
1447
final LinkedList <Exception > exceptions = new LinkedList <>();
@@ -1457,7 +1458,7 @@ private static Configuration decodeObject(InputStream in) throws IOException {
1457
1458
1458
1459
if (!exceptions .isEmpty ()) {
1459
1460
// There was an exception during parsing.
1460
- // see {@code addGroup}
1461
+ // see addGroup()
1461
1462
if (exceptions .getFirst () instanceof IOException ) {
1462
1463
throw (IOException ) exceptions .getFirst ();
1463
1464
}
@@ -1466,7 +1467,7 @@ private static Configuration decodeObject(InputStream in) throws IOException {
1466
1467
1467
1468
Configuration conf = ((Configuration ) ret );
1468
1469
1469
- // Removes all non root groups.
1470
+ // Removes all non- root groups.
1470
1471
// This ensures that when the configuration is reloaded then the set
1471
1472
// contains only root groups. Subgroups are discovered again
1472
1473
// as follows below
You can’t perform that action at this time.
0 commit comments