From 5591172a0fe83c678f6ad1ee52d536374627d14a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 12 Aug 2015 14:54:22 +0200 Subject: [PATCH] =?utf8?q?Opps!=20Wrong=20way=20around=20...=20Signed-off-?= =?utf8?q?by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../database/backend/base64/Base64CsvDatabaseBackend.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java index a2bfb92..db83391 100644 --- a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java @@ -115,7 +115,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat this.rewind(); // Then loop over all rows until the end has reached - while (this.isEndOfFile()) { + while (!this.isEndOfFile()) { // Read line String line = this.readLine(); @@ -261,7 +261,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat // Is the line null? if (base64 == null) { // Then throw NPE here - throw new NullPointerException("base64 is null"); //NOI18N + throw new NullPointerException("base64 is null, maybe missed to call isEndOfFile() ?"); //NOI18N } // Decode BASE-64 -- 2.39.5