Is there anything in java where commenting code out, that isn't ever used, changes how the code could function? Like C/C++ memory leaks? -


so... @ work looking @ chunk of code, far can see (logs on server, config files, etc) cannot , not run unless told in config file run. trying work out last of bugs, main 1 now. 1 of things fix bug (only relevant part of question) commenting out said code never gets run.

edit, more info: when code isn't commented out, constructor doesn't created, no logs can seen until fixed. also, code runs first time without difficulty, when restarted.

edit 2: code doesn't have relation problem being created, can't called being done.

the question have is there in java commenting code out, isn't ever used, changes how code function? examples memory leak in c/c++.

if commenting out corrects bug, code used.

try debugging adding breaking point on said unused code , see yourself.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -