eclipse and line wrapping

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

July 2017
M T W T F S S
« Jun    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "java8"

eclipse and line wrapping

July 2nd, 2017 by Jeanne Boyarsky

Last month, a co-worker referenced an Eclipse setting that I wish I’ve known about for years.  With streams, I typically indent code like: Then I’d let Eclipse format the code and it would turn into a one (or two) line wall of text. I’ve been “solving” that problem by adding comments before some of the […]

OCA/OCP 8 Programmer Practice Tests AVAILABLE NOW!

April 8th, 2017 by Scott Selikoff

Jeanne and I are really excited to announce that our new book OCA / OCP Practice Tests: Exam 1Z0-808 and Exam 1Z0-809 is now shipping. In fact, we just received our copies today! The book is available in both print and digital formats from Amazon and other major book retailers. In addition, purchasing this book […]

refactoring legacy code for java 8

June 25th, 2016 by Jeanne Boyarsky

I asked a teammate at CodeRanch if I could use a method he wrote to show how it could be written more clearly/succinctly in Java 8. He said yes. This is the original method. It is 95 lines and has a cyclomatic complexity of 27. First step – write unit tests First, I wrote unit tests for […]