Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor bad smell UnnecessaryToStringCall #775

Merged
merged 3 commits into from Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -212,10 +212,10 @@ public void testBaseMetadataSingluarItemsPromMetrics() {

if (tmp[2].startsWith(promName)) {
found = true;
assertEquals("Expected [" + mm.toString() + "] got [" + line + "]", tmp[3], mm.type);
assertEquals("Expected [" + mm + "] got [" + line + "]", tmp[3], mm.type);
}
}
assertTrue("Not found [" + mm.toString() + "]", found);
assertTrue("Not found [" + mm + "]", found);

}
}
Expand Down
Expand Up @@ -194,7 +194,7 @@ public void getAsync(@Suspended final AsyncResponse asyncResponse) throws Except
Thread.sleep(5000);
asyncResponse.resume("This is a GET request with AsyncResponse");
} catch (Exception e) {
System.err.println(e.toString());
System.err.println(e);
}
});
thread.start();
Expand Down