geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r396321 - in /geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet: MimeBodyPart.java MimeUtility.java
Date Sun, 23 Apr 2006 21:32:54 GMT
Author: rickmcguire
Date: Sun Apr 23 14:32:52 2006
New Revision: 396321

URL: http://svn.apache.org/viewcvs?rev=396321&view=rev
Log:
GERONIMO-1895 Fix TCK signature failures because of public/protected scoping issues

Modified:
    geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeBodyPart.java
    geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeUtility.java

Modified: geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeBodyPart.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeBodyPart.java?rev=396321&r1=396320&r2=396321&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeBodyPart.java
(original)
+++ geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeBodyPart.java
Sun Apr 23 14:32:52 2006
@@ -39,8 +39,8 @@
  */
 public class MimeBodyPart extends BodyPart implements MimePart {
 	 // constants for accessed properties
-    protected static final String MIME_DECODEFILENAME = "mail.mime.decodefilename";
-    protected static final String MIME_SETDEFAULTTEXTCHARSET = "mail.mime.setdefaulttextcharset";
+    private static final String MIME_DECODEFILENAME = "mail.mime.decodefilename";
+    private static final String MIME_SETDEFAULTTEXTCHARSET = "mail.mime.setdefaulttextcharset";
 
 
     /**
@@ -409,7 +409,7 @@
         out.write('\r');
         out.write('\n');
         // we need to process this using the transfer encoding type
-        OutputStream encodingStream = MimeUtility.encode(out, getEncoding()); 
+        OutputStream encodingStream = MimeUtility.encode(out, getEncoding());
         getDataHandler().writeTo(encodingStream);
         encodingStream.flush();
     }

Modified: geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeUtility.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeUtility.java?rev=396321&r1=396320&r2=396321&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeUtility.java
(original)
+++ geronimo/specs/trunk/geronimo-spec-javamail/src/main/java/javax/mail/internet/MimeUtility.java
Sun Apr 23 14:32:52 2006
@@ -801,7 +801,7 @@
      *
      * @return The character string value of the default character set.
      */
-    public static String getDefaultMIMECharset() {
+    static String getDefaultMIMECharset() {
         // if the property is specified, this can be used directly.
         String charset = SessionUtil.getProperty("mail.mime.charset");
         if (charset != null) {



Mime
View raw message