Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Feb 26, 2023
1 parent 3416512 commit c561e35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.konloch</groupId>
<artifactId>DiskLib</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>

<name>DiskLib</name>
<description>DiskLib is an easy-to-use zero dependency Disk Writer / Disk Reader with built-in GZIP support for Java.</description>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/konloch/disklib/DiskReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class DiskReader
* @return String Array with the file content lines
* @throws IOException if an I/O error occurs reading from the stream
*/
public static String[] readLines(String filePath) throws IOException
public static String[] readArray(String filePath) throws IOException
{
return read(filePath).toArray(new String[0]);
}
Expand All @@ -35,7 +35,7 @@ public static String[] readLines(String filePath) throws IOException
* @return String Array with the file content lines
* @throws IOException if an I/O error occurs reading from the stream
*/
public static String[] readLines(File file) throws IOException
public static String[] readArray(File file) throws IOException
{
return read(file).toArray(new String[0]);
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/konloch/disklib/GZipDiskReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class GZipDiskReader
* @throws IOException if an I/O error occurs reading from the stream
* @throws DataFormatException if the compressed data format is invalid
*/
public static String[] readLines(String filePath) throws IOException, DataFormatException
public static String[] readArray(String filePath) throws IOException, DataFormatException
{
return read(filePath).toArray(new String[0]);
}
Expand All @@ -38,7 +38,7 @@ public static String[] readLines(String filePath) throws IOException, DataFormat
* @throws IOException if an I/O error occurs reading from the stream
* @throws DataFormatException if the compressed data format is invalid
*/
public static String[] readLines(File file) throws IOException, DataFormatException
public static String[] readArray(File file) throws IOException, DataFormatException
{
return read(file).toArray(new String[0]);
}
Expand Down

0 comments on commit c561e35

Please sign in to comment.