whats teh compilation error?

> Sorry, something seems to have gone wrong... here are the details:
> 
> Error while compiling:
> C:\tomcat-3.3\webapps\axis\WEB-INFjwsClasses\NHLService.java
> 
> 
> 
> What is the problmeo????
> 
> 
> import java.util.*;
> 
> public class NHLService {
>   HashMap standings = new HashMap();
> 
>   public NHLService() {
>     // NHL - part of the standings as per 04/07/2002
>     standings.put("atlantic/philadelphia", "1");
>     standings.put("atlantic/ny islanders", "2");
>     standings.put("atlantic/new jersey", "3");
>     standings.put("central/detroit", "1");
>     standings.put("central/chicago", "2");
>     standings.put("central/st.louis", "3");
>   }
> 
>   public String getCurrentPosition(String division, String team) {
>     String p = (String)standings.get(division + '/' + team);
>     return (p == null) ? "Team not found" : p;
>   }
> }
> 


Reply via email to