Code Affine is a group of IT freelancers with focus on RAP, RCP, OSGi and other Java technologies. We offer training, design and development support.

As we believe that Agile approaches deliver higher value faster and more sustainable than that what we considered essential to software development a decade ago, we focus our work on projects that allow us to follow principles and methods derived from the Agile Manifesto. More…


Latest Posts

How to manage Git Submodules with JGit

For a larger project with Git you may find yourself wanting to share code among multiple repositories. Whether it is a shared library between projects or perhaps templates and such used among multiple different products. The Git built-in answer to this problem are submodules. They allow putting a clone of another repository as a subdirectory […]

Posted in Common, Eclipse | No Comments

Clean Synchronization Using ReentrantLock and Lambdas

Recently I was reading an informative post about the differences between synchronized vs ReentrantLock by Javin Paul1. He emphasises on the advantages of the latter, but does not withhold some downsides, which are related to the cumbersome try-finally block needed for proper usage. While agreeing on his statements I brooded about a thought, that always […]

Posted in Common | 3 Comments

Efficient Code Coverage with Eclipse

There is a saying that a fool with a tool is still a fool. But how to use a tool most efficiently is not always obvious to me. Because of this I typically spend some time to check out new playgrounds1 that promise to increase my work speed without impairing quality. This way I came […]

Posted in Common, Eclipse | 1 Comment

Slim Down SWT FormLayout Usage

Always on the quest for efficiency I reconsidered the usability of SWT FormLayout lately. Although it is one of my favored core layouts with respect to flexibility, I had to recognize that it is only reluctantly used by most of my fellow workers. Proposing it for an appropriate task sometimes actually seems to inflict real […]

Posted in Common, Eclipse | 2 Comments

What are Mockito Extra Interfaces?

Mockito is my favored little helper if it comes down to write light weight JUnit tests. It is very useful to replace the ‘real’ dependencies of a unit under test easily by mocks if necessary. In particular when working on the borderline to framework APIs such dependencies can otherwise be very expensive to setup. But […]

Posted in Common | 1 Comment