-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: None
-
Component/s: hotspot
-
b26
String.contains was introduced in Java 5.
Some code in jdk.hotspot.agent still uses old approach with String.indexOf to check if String contains specified substring.
I propose to migrate such usages. Makes code shorter and easier to read.
Some code in jdk.hotspot.agent still uses old approach with String.indexOf to check if String contains specified substring.
I propose to migrate such usages. Makes code shorter and easier to read.