comment your code

Celebrity Monologues. This base allows guest posting, but please register for the full experience.

Moderators: AArdvark, Ice Cream Jonsey

User avatar
pinback
Posts: 17849
Joined: Sat Apr 27, 2002 3:00 pm
Contact:

comment your code

Post by pinback »

// MAJOR BIG HACK TO BE REMOVED BEFORE THIS GOES INTO PRODUCTION
// OKAY??
//
// HERE, I'LL PUT SOME STARS HERE SO YOU CAN SEE HOW IMPORTANT IT IS
// TO REMEMBER THIS:
//
// ********* *** * ** * *** * *** * ** * ** *
// ** ** * * * * * ** * ** * ** * ** ***** ** * *
boolean isBad = true;
for (Iterator iter = translatedVehicleTrimMap.values().iterator(); iter.hasNext();) {
Object o = iter.next();
if (o!=null) {
isBad = false;
}
}
if (isBad) {
VehicleTrim defaultTrim = new VehicleTrim();
defaultTrim.setId(new Long(5940)); // Ford F-150!
translatedVehicleTrimMap = vehicleDataTranslator.translateToAll(defaultTrim);
}

// REMEMBER! TAKE THE ABOVE HACK OUT! STAR STARSTARSTAR STARSTAR!!!!!
Am I a hero? I really can't say. But, yes.

User avatar
Ice Cream Jonsey
Posts: 30067
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Well, I'm sure your next thread, "comment on my post" will do better.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30067
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

I enjoy deploying JSPs. Who knew that after 32 years and, ooooooooooh tens of thousands of lines of code that the magic would be in Java all along.
the dark and gritty...Ice Cream Jonsey!

Post Reply