Skip to content

Commit 403abf0

Browse files
author
Gerald Unterrainer
committed
Merge branch 'develop'
2 parents 3d53227 + 126c6ba commit 403abf0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>jre-utils</artifactId>
13-
<version>0.1.11</version>
13+
<version>0.1.12</version>
1414
<name>JreUtils</name>
1515
<packaging>jar</packaging>
1616

src/main/java/info/unterrainer/commons/jreutils/DoubleBufferedFile.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ public void delete() throws IOException {
133133
path2.delete();
134134
}
135135

136+
public boolean exists() {
137+
return path1.exists() || path2.exists();
138+
}
139+
136140
public LocalDateTime getNewestModifiedTime() {
137141
if (path1.modified() == null && path2.modified() == null)
138142
return null;

0 commit comments

Comments
 (0)