Remove the second parameter of substring() if possible
Closes gh-5720
This commit is contained in:
committed by
Stephane Nicoll
parent
58dac43b8d
commit
b914b4aa52
@@ -464,7 +464,7 @@ public class ConfigFileApplicationListenerTests {
|
||||
assertThat(index)
|
||||
.as("Loading profile '" + profile + "' not found in '" + log + "'")
|
||||
.isNotEqualTo(-1);
|
||||
log = log.substring(index + line.length(), log.length());
|
||||
log = log.substring(index + line.length());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user