1
1
/*
2
+ * Elemental
3
+ * Copyright (C) 2024, Evolved Binary Ltd
4
+ *
5
+
6
+ * https://www.evolvedbinary.com | https://www.elemental.xyz
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; version 2.1.
11
+ *
12
+ * This library is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
+ *
21
+ * NOTE: Parts of this file contain code from 'The eXist-db Authors'.
22
+ * The original license header is included below.
23
+ *
24
+ * =====================================================================
25
+ *
2
26
* eXist-db Open Source Native XML Database
3
27
* Copyright (C) 2001 The eXist-db Authors
4
28
*
47
71
import org .xmldb .api .modules .BinaryResource ;
48
72
import org .xmldb .api .modules .XMLResource ;
49
73
74
+ import static org .exist .util .StringUtil .isNullOrEmpty ;
75
+
50
76
/**
51
77
*
52
78
* @author <a href="mailto:[email protected] ">Adam Retter</a>
@@ -301,8 +327,4 @@ private void createResource(final ResourceType resourceType, final String filena
301
327
ClientFrame .showErrorMessage (xmldbe .getMessage (), xmldbe );
302
328
}
303
329
}
304
-
305
- private boolean isNullOrEmpty (String str ) {
306
- return str == null || str .isEmpty ();
307
- }
308
330
}
0 commit comments