Bill Roper (billroper) wrote,
Bill Roper

One Thing Leads to Another

It turns out that the editing / updating code for one of my Java classes is an unhappy camper. So I set out to fix it.

In order to make it faster, I refactored the class to use a map for looking up entries. This wasn't too complex. Unfortunately, once I got all that code updated, it still didn't work, producing a null pointer exception in some other class.

So I fixed that class so that we weren't generating the null pointer exception.

This led into yet another class that was behaving badly. My only excuse for this was that it had been a templated class in C++ that I had to write without generics in Java, because it uses native data storage. So I fixed it.

There is still something wrong in there somewhere.

I will find it in the morning.
Tags: java, musings, work

  • Let's Try That Again

    For a variety of reasons, today ended up being moderately annoying. This is despite having made good progress on a number of fronts, so maybe I just…

  • Gentlemen, Be Seated

    I appear to collect office chairs. A few years ago, I bought a new chair for the studio in the after-Christmas sales. It is a big and tall Sealy…

  • Scheduling

    We got the heads up yesterday about the upcoming schedule for our kitchen renovation. The cabinet installers will be back on Saturday to finish up…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded