Inline single use local variable.
MODIFY
src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
src/main/java/org/apache/commons/io/UncheckedIOExceptions.java
* @return a new UncheckedIOException.
*/
public static UncheckedIOException create(final Object message) {
- final String string = Objects.toString(message);
- return new UncheckedIOException(string, new IOException(string));
+ return new UncheckedIOException(Objects.toString(message), new IOException(Objects.toString(message)));
}
/**

Inline single use local variable.