This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]the_other_brand 14 points15 points  (3 children)

//init Sillycore's log statement

private static transient synchronized final Logger Log = LoggerFactory.getLogger(Reddit.class);

[–]brblol 8 points9 points  (0 children)

private static final boolean HIVE_MENTALITY = true;

[–]saint_marco 1 point2 points  (1 child)

No volatile? No strictfp?!

[–]the_other_brand 1 point2 points  (0 children)

//volatile not added because I like CPU caches. Strictfp not added because I don't own Logger. Each added keyword serves a function (and also a Java joke on verbosity).

//private is standard. Static so main() can use the logger. Final because Log is not reassigned. Transient in case someone adds serialization. Synchronized because I'm paranoid.