Yea , I did it and I removed it afterward. The code was super ugly and is only used used for logging the file name in log4j. The code must crash if the value is not set so I took the decision to keep it as a direct reference.