This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
in my code for a server, in one of the classes i must store 5 details, one of them is the no. of messages on a topic. in order to increment this by one everytime a new message is posted i have the following code, it compiles fine but as i am only starting this project can anybody tell me if this looks to have any problems: