From: Stig T. <jw...@us...> - 2005-03-20 20:47:29
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14001/net/sf/mailsomething/util Modified Files: MimeTypeObjectSupport.java AppInstance.java PlatformManager.java TimedSocket.java BeanProxy.java TimeInterval.java ParameterServer.java Appointment.java ParameterProtocol.java GeneralSupport.java CalendarBook.java AppSettings.java Log Message: Index: ParameterProtocol.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/ParameterProtocol.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ParameterProtocol.java 3 Apr 2004 07:56:45 -0000 1.1 --- ParameterProtocol.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 63,67 **** String command = new String(bytes); ! System.out.println("protocol " + new String(bytes)); StringTokenizer tokenizer = new StringTokenizer(command, " "); --- 63,67 ---- String command = new String(bytes); ! //System.out.println("protocol " + new String(bytes)); StringTokenizer tokenizer = new StringTokenizer(command, " "); Index: MimeTypeObjectSupport.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/MimeTypeObjectSupport.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MimeTypeObjectSupport.java 11 Mar 2005 11:59:03 -0000 1.2 --- MimeTypeObjectSupport.java 20 Mar 2005 20:47:19 -0000 1.3 *************** *** 194,198 **** += ("; charset=\"" + mime.getParameter("charset") + "\""); //contentType += ("; charset=\"" + GuiUser.getInstance().getFontHandler().getEncoding() + "\""); ! System.out.println(contentType); //} --- 194,198 ---- += ("; charset=\"" + mime.getParameter("charset") + "\""); //contentType += ("; charset=\"" + GuiUser.getInstance().getFontHandler().getEncoding() + "\""); ! //System.out.println(contentType); //} *************** *** 209,213 **** + "\""; ! System.out.println(contentType); } } --- 209,213 ---- + "\""; ! //System.out.println(contentType); } } *************** *** 288,292 **** + "\""; ! //System.out.println(contentType); } --- 288,292 ---- + "\""; ! ////System.out.println(contentType); } *************** *** 346,350 **** public static MimeTypeObject getPrimaryObject(MimeTypeObject object) { ! System.out.println("getprimaryobject" + object); MimeType mime = object.getMimeType(); --- 346,350 ---- public static MimeTypeObject getPrimaryObject(MimeTypeObject object) { ! //System.out.println("getprimaryobject" + object); MimeType mime = object.getMimeType(); *************** *** 362,366 **** if (primary.indexOf("multipart") != -1) { ! System.out.println("mimetype to string " + mime.toString()); String subtype = mime.getSubType(); --- 362,366 ---- if (primary.indexOf("multipart") != -1) { ! //System.out.println("mimetype to string " + mime.toString()); String subtype = mime.getSubType(); *************** *** 369,373 **** || subtype.equalsIgnoreCase("mixed")) { ! System.out.println("getprimary choose alternative now"); return chooseAlternative2(object); --- 369,373 ---- || subtype.equalsIgnoreCase("mixed")) { ! //System.out.println("getprimary choose alternative now"); return chooseAlternative2(object); *************** *** 515,519 **** Style def = context.getStyle(StyleContext.DEFAULT_STYLE); ! //System.out.println(def.get --- 515,519 ---- Style def = context.getStyle(StyleContext.DEFAULT_STYLE); ! ////System.out.println(def.get *************** *** 607,611 **** while ((o = message.getBody(i)) != null) { ! System.out.println("choosealternative2 go through body: " + i); MimeType mimetype = o.getMimeType(); --- 607,611 ---- while ((o = message.getBody(i)) != null) { ! //System.out.println("choosealternative2 go through body: " + i); MimeType mimetype = o.getMimeType(); *************** *** 645,649 **** } else { ! System.out.println("choosealternative mimetype is null"); } --- 645,649 ---- } else { ! //System.out.println("choosealternative mimetype is null"); } *************** *** 717,721 **** + "\""; ! System.out.println(contentType); } } --- 717,721 ---- + "\""; ! //System.out.println(contentType); } } *************** *** 727,731 **** //editorpane.setFont(new Font("batang", 12, Font.PLAIN)); ! System.out.println(object.getFilename()); if (object.getFile() != null) { --- 727,731 ---- //editorpane.setFont(new Font("batang", 12, Font.PLAIN)); ! //System.out.println(object.getFilename()); if (object.getFile() != null) { Index: AppInstance.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/AppInstance.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppInstance.java 3 Apr 2004 07:56:45 -0000 1.1 --- AppInstance.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 215,224 **** if(port == -1) { ! System.out.println("port = -1"); return; } ! System.out.println("portnumber = " + getPort()); try { --- 215,224 ---- if(port == -1) { ! //System.out.println("port = -1"); return; } ! //System.out.println("portnumber = " + getPort()); try { *************** *** 240,244 **** ! System.out.println("paraminvoker:" + in.readLine()); out.write(params); --- 240,244 ---- ! //System.out.println("paraminvoker:" + in.readLine()); out.write(params); *************** *** 246,250 **** out.flush(); ! //System.out.println("paraminvoker:" + in.readLine()); in.close(); --- 246,250 ---- out.flush(); ! ////System.out.println("paraminvoker:" + in.readLine()); in.close(); Index: AppSettings.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/AppSettings.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppSettings.java 3 Apr 2004 07:56:45 -0000 1.1 --- AppSettings.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 79,83 **** if (!exe.exists()) { ! System.out.println("exe doesnt exists"); return; --- 79,83 ---- if (!exe.exists()) { ! //System.out.println("exe doesnt exists"); return; Index: GeneralSupport.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/GeneralSupport.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GeneralSupport.java 3 Apr 2004 07:56:45 -0000 1.1 --- GeneralSupport.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 128,132 **** if(!old.exists()) { ! System.out.println("old file doesnt exists"); return; --- 128,132 ---- if(!old.exists()) { ! //System.out.println("old file doesnt exists"); return; *************** *** 180,188 **** URL url = ClassLoader.getSystemResource(className); ! System.out.println(url.getPath()); ! System.out.println(className); ! System.out.println(url.getPath().substring(0,url.getPath().length() - className.length())); appDirectory = new File(url.getPath().substring(0,url.getPath().length() - className.length())); --- 180,188 ---- URL url = ClassLoader.getSystemResource(className); ! //System.out.println(url.getPath()); ! //System.out.println(className); ! //System.out.println(url.getPath().substring(0,url.getPath().length() - className.length())); appDirectory = new File(url.getPath().substring(0,url.getPath().length() - className.length())); Index: TimedSocket.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/TimedSocket.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TimedSocket.java 3 Apr 2004 07:56:45 -0000 1.1 --- TimedSocket.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 106,114 **** Socket s = TimedSocket.getSocket ("192.168.0.3", 80, 5000); s.close(); ! System.out.println ("connected"); } catch (IOException ioe) { ! System.out.println ("time out"); } --- 106,114 ---- Socket s = TimedSocket.getSocket ("192.168.0.3", 80, 5000); s.close(); ! //System.out.println ("connected"); } catch (IOException ioe) { ! //System.out.println ("time out"); } Index: PlatformManager.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/PlatformManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PlatformManager.java 3 Apr 2004 07:56:45 -0000 1.1 --- PlatformManager.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 62,66 **** arch = System.getProperty("os.arch"); ! //System.out.println(system + " " + version + " " + arch); } --- 62,66 ---- arch = System.getProperty("os.arch"); ! ////System.out.println(system + " " + version + " " + arch); } Index: TimeInterval.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/TimeInterval.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TimeInterval.java 3 Apr 2004 07:56:45 -0000 1.1 --- TimeInterval.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 145,149 **** String stringdate = buffer.toString(); ! System.out.println(stringdate); --- 145,149 ---- String stringdate = buffer.toString(); ! //System.out.println(stringdate); *************** *** 173,177 **** String stringdate = buffer.toString(); ! System.out.println(stringdate); } --- 173,177 ---- String stringdate = buffer.toString(); ! //System.out.println(stringdate); } Index: CalendarBook.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/CalendarBook.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CalendarBook.java 3 Apr 2004 07:56:45 -0000 1.1 --- CalendarBook.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 111,115 **** int lowerCut = getCut(date); ! System.out.println("lowercut = " + lowerCut); cal.set(Calendar.DAY_OF_MONTH, day + 1); --- 111,115 ---- int lowerCut = getCut(date); ! //System.out.println("lowercut = " + lowerCut); cal.set(Calendar.DAY_OF_MONTH, day + 1); *************** *** 119,123 **** int higherCut = getCut(date); ! System.out.println("highercut = " + higherCut); if (higherCut == lowerCut) --- 119,123 ---- int higherCut = getCut(date); ! //System.out.println("highercut = " + higherCut); if (higherCut == lowerCut) *************** *** 128,132 **** for (int i = lowerCut; i < higherCut; i++) { ev[i - lowerCut] = (Event) events.elementAt(i); ! System.out.println(ev[i - lowerCut].getDate()); } --- 128,132 ---- for (int i = lowerCut; i < higherCut; i++) { ev[i - lowerCut] = (Event) events.elementAt(i); ! //System.out.println(ev[i - lowerCut].getDate()); } *************** *** 175,179 **** return; ! System.out.println("addevent"); if (events.size() < 1) { --- 175,179 ---- return; ! //System.out.println("addevent"); if (events.size() < 1) { *************** *** 219,223 **** private int getCut(Date date) { ! System.out.println(date); Date eventDate; --- 219,223 ---- private int getCut(Date date) { ! //System.out.println(date); Date eventDate; *************** *** 256,260 **** int result = date.compareTo(halfdate); ! System.out.println("result=" + result); if (result > 0) { --- 256,260 ---- int result = date.compareTo(halfdate); ! //System.out.println("result=" + result); if (result > 0) { Index: ParameterServer.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/ParameterServer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ParameterServer.java 3 Apr 2004 07:56:45 -0000 1.1 --- ParameterServer.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 83,87 **** public void clientConnect(Client client) { ! System.out.println("client connect"); if(socket != null) { --- 83,87 ---- public void clientConnect(Client client) { ! //System.out.println("client connect"); if(socket != null) { Index: Appointment.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/Appointment.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Appointment.java 3 Apr 2004 07:56:45 -0000 1.1 --- Appointment.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 93,97 **** public Date getDate() { ! //System.out.println("date in getdate" + date); return date; } --- 93,97 ---- public Date getDate() { ! ////System.out.println("date in getdate" + date); return date; } Index: BeanProxy.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/util/BeanProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BeanProxy.java 3 Apr 2004 07:56:45 -0000 1.1 --- BeanProxy.java 20 Mar 2005 20:47:19 -0000 1.2 *************** *** 114,121 **** if (methodname.equals("hashCode")) { ! //System.out.println("hashcode beanproxy = " + proxyHashCode(proxy)); return proxyHashCode(proxy); ! //System.out.println("call get class"); } --- 114,121 ---- if (methodname.equals("hashCode")) { ! ////System.out.println("hashcode beanproxy = " + proxyHashCode(proxy)); return proxyHashCode(proxy); ! ////System.out.println("call get class"); } *************** *** 123,132 **** if (methodname.equals("equals")) { ! //System.out.println("hashcode equals = " + proxyEquals(proxy, args[0])); return proxyEquals(proxy, args[0]); //return new Boolean(equals(args[0])); ! //System.out.println("call get class"); } --- 123,132 ---- if (methodname.equals("equals")) { ! ////System.out.println("hashcode equals = " + proxyEquals(proxy, args[0])); return proxyEquals(proxy, args[0]); //return new Boolean(equals(args[0])); ! ////System.out.println("call get class"); } *************** *** 153,157 **** if(method.getReturnType().isPrimitive()) { ! //System.out.println("isprimitive=" + method.getReturnType().getName() + propertyname); if(method.getReturnType().getName().equals("boolean")) { --- 153,157 ---- if(method.getReturnType().isPrimitive()) { ! ////System.out.println("isprimitive=" + method.getReturnType().getName() + propertyname); if(method.getReturnType().getName().equals("boolean")) { |