Clean up warnings and polish tests
This commit also modifies ResourceWebHandlerTests.getResourceFromFileSystem() so that it passes in the IDE.
This commit is contained in:
@@ -506,6 +506,7 @@ public class DefaultDataBuffer implements DataBuffer {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public DefaultDataBuffer capacity(int newCapacity) {
|
||||
throw new UnsupportedOperationException("Changing the capacity of a sliced buffer is not supported");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user