Removed commented code
Adjustment to TGM-Oldenburg/WaveDB-Server#8, checking getWave length