Skip to content

Commit

Permalink
Spotless apply.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpwright committed Sep 15, 2023
1 parent 1a95a9d commit 97e302c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ static ThreadProfiler make() {
return NullThreadProfiler.INSTANCE;
}
final String vendor = System.getProperty("java.vendor");
if (vendor.contains("Sun") || vendor.contains("Oracle") || vendor.contains("OpenJDK") || vendor.contains("Adoptium")) {
if (vendor.contains("Sun")
|| vendor.contains("Oracle")
|| vendor.contains("OpenJDK")
|| vendor.contains("Adoptium")) {
return new SunThreadMXBeanThreadProfiler();
}
return new BaselineThreadMXBeanThreadProfiler();
Expand Down

0 comments on commit 97e302c

Please sign in to comment.