Tag Archives: coding

Don’t rely on Java finalizers

Recently I was facing a problem where a Java application should persist a part of its state when it was closed. This was already implemented but seemed to work just unreliably and it was not clearly reproducible when it worked properly and when it failed. After analyzing the existing source code I figured out that […]
Posted in coding, english, Java | Also tagged , | Leave a comment

Removing Excel rows with POI

When generating Excel Sheets it is sometimes necessary to remove rows which match a given criteria afterwards. The first idea for this would be to use removeRow(Row row) but this has the problem that it deletes all the row contents and leaves the empty row in your sheet which is probably not what you want. […]
Posted in coding, english, howto, Java | Also tagged , , , | Leave a comment

Book review: Becoming a Better Programmer

This is a book I wish I had read when starting my career as a professional developer because I would have had a head start about many of the things everybody takes for granted but at as a student nobody tells you about. Don’t get me wrong I don’t say that I couldn’t get anything […]
Posted in Books, coding, english | Also tagged , , | Leave a comment

Using CellUtil with POI to avoid too many cell styles in Excel

When you create Excel documents with the popular Apache POI library it is possible that you encounter a problem where Excel tells you there are “Too many different cell formats”. A possible source for this is that you probably have a loop structure in which you define a new cell style for every cell you […]
Posted in Allgemein, coding, english, howto, Java | Also tagged , , , , , | Leave a comment

My git svn workflow

Using a remote subversion repository with git locally requires some adoptions to the local git usage compared to working in a pure git environment. The reason for this is that the remote subversion don’t know about many of the concepts the local git supports (local branches or multiple local commits before checkin for example). Because […]
Posted in coding, english, git, howto, Tools | Also tagged , , , , , , | Leave a comment