diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-07-01 17:27:48 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-07-01 17:27:48 -0400 |
| commit | 02bc52037e9ccccca672d6156d9c325c74fe28b3 (patch) | |
| tree | db022b83c90562f461f4a27412caa9936a8dfd04 /projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java | |
| parent | c75d7dbd613a47b217499f7a856c469a8bc59e2a (diff) | |
Update a whole bunch of things
Yeah... not a great commit message. t.b.h, I could maybe've split the
commit into more parts; but that would be quite a lot off effort and
would have a pretty decent chance of at least one of the commits leaving
the repository in a non-working state.
For the future, will want to try and commit more often so there aren't
these mega-commits where it's just "a whole bunch of stuff changed"
Diffstat (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java')
| -rw-r--r-- | projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java index b447bd3..eba1383 100644 --- a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java +++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSLog.java @@ -222,14 +222,14 @@ public class NSLog { * Convenience to append a Boolean. */ public void appendln(boolean aValue) { - appendln(new Boolean(aValue)); + appendln(Boolean.valueOf(aValue)); } /** * Convenience to append a Byte. */ public void appendln(byte aValue) { - appendln(new Byte(aValue)); + appendln(Byte.valueOf(aValue)); } /** @@ -244,7 +244,7 @@ public class NSLog { * Convenience to append a Character. */ public void appendln(char aValue) { - appendln(new Character(aValue)); + appendln(Character.valueOf(aValue)); } /** @@ -258,35 +258,35 @@ public class NSLog { * Convenience to append a Double. */ public void appendln(double aValue) { - appendln(new Double(aValue)); + appendln(Double.valueOf(aValue)); } /** * Convenience to append a Float. */ public void appendln(float aValue) { - appendln(new Float(aValue)); + appendln(Float.valueOf(aValue)); } /** * Convenience to append a Integer. */ public void appendln(int aValue) { - appendln(new Integer(aValue)); + appendln(Integer.valueOf(aValue)); } /** * Convenience to append a Long. */ public void appendln(long aValue) { - appendln(new Long(aValue)); + appendln(Long.valueOf(aValue)); } /** * Convenience to append a Short */ public void appendln(short aValue) { - appendln(new Short(aValue)); + appendln(Short.valueOf(aValue)); } /** @@ -362,6 +362,7 @@ public class NSLog { /** * Sends a newline to the print stream. */ + @Override public void appendln() { if (isEnabled()) { thePrintStream.println(); @@ -371,6 +372,7 @@ public class NSLog { /** * Writes the throwable to the print stream. */ + @Override public void appendln(Throwable aValue) { appendln(NSLog.throwableAsString(aValue)); } @@ -378,6 +380,7 @@ public class NSLog { /** * Writes aValue.toString to the print stream. */ + @Override public void appendln(Object aValue) { if (isEnabled()) { if (isVerbose()) { @@ -392,6 +395,7 @@ public class NSLog { /** * Flushes the print stream. */ + @Override public void flush() { thePrintStream.flush(); } |
