X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2FtextEditorComponent%2FCharacter.java;h=b7d96afd412899e3e7333a92fbd30c88285b1501;hp=ebc54f95dcdadbdf93ea81abeb986059f511feb1;hb=e56f9b775bd49c31e8efab7204bee699036942b3;hpb=b1e8d7bd8c9d0905e9fe3c46fc84a11779b95982 diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/textEditorComponent/Character.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/textEditorComponent/Character.java index ebc54f9..b7d96af 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/textEditorComponent/Character.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/textEditorComponent/Character.java @@ -1,5 +1,5 @@ /* - * Sixth 3D engine. Copyright ©2012-2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License @@ -19,7 +19,7 @@ public class Character { this.value = value; } - boolean isEmpty() { - return value == ' '; + boolean hasValue() { + return value != ' '; } }