aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java b/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java
index 0dac6ec..7e2bdf9 100644
--- a/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java
+++ b/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java
@@ -104,15 +104,15 @@ public abstract class AbstractAttributeProviderTest<P extends AttributeProvider>
assertSetAndGetSucceeds(attribute, value, false);
}
- protected void assertSetAndGetSucceedsOnCreate(String attribute, Object value) {
- assertSetAndGetSucceeds(attribute, value, true);
- }
-
protected void assertSetAndGetSucceeds(String attribute, Object value, boolean create) {
provider.set(file, provider.name(), attribute, value, create);
assertThat(provider.get(file, attribute)).isEqualTo(value);
}
+ protected void assertSetAndGetSucceedsOnCreate(String attribute, Object value) {
+ assertSetAndGetSucceeds(attribute, value, true);
+ }
+
@SuppressWarnings("EmptyCatchBlock")
protected void assertSetFails(String attribute, Object value) {
try {