We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d53227 + 126c6ba commit 403abf0Copy full SHA for 403abf0
pom.xml
@@ -10,7 +10,7 @@
10
11
<modelVersion>4.0.0</modelVersion>
12
<artifactId>jre-utils</artifactId>
13
- <version>0.1.11</version>
+ <version>0.1.12</version>
14
<name>JreUtils</name>
15
<packaging>jar</packaging>
16
src/main/java/info/unterrainer/commons/jreutils/DoubleBufferedFile.java
@@ -133,6 +133,10 @@ public void delete() throws IOException {
133
path2.delete();
134
}
135
136
+ public boolean exists() {
137
+ return path1.exists() || path2.exists();
138
+ }
139
+
140
public LocalDateTime getNewestModifiedTime() {
141
if (path1.modified() == null && path2.modified() == null)
142
return null;
0 commit comments