commits@javamail.java.net

[mercurial:125] Copy peek flag to nested message.

From: <shannon_at_kenai.com>
Date: Sat, 28 Feb 2009 01:44:45 +0000 (GMT)

Repository: mercurial
Revision: 125
Author: Bill Shannon <bill.shannon_at_sun.com>
Date: 2009-02-26 19:03:25 UTC
Link:
http://kenai.com/projects/javamail/sources/mercurial/revision/125

Log Message:
-----------
Copy peek flag to nested message.

Modified Paths:
--------------
    mail/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java

Diffs:
-----
diff -r 9ecfecfdfa41 -r 24c89d103755
mail/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java
--- a/mail/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java
Mon Feb 16 10:31:51 2009 -0800
+++ b/mail/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java
Thu Feb 26 11:03:25 2009 -0800
@@ -1,7 +1,7 @@
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
- * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
  *
  * The contents of this file are subject to the terms of either the
GNU
  * General Public License Version 2 only ("GPL") or the Common
Development
@@ -62,6 +62,7 @@
        bs = b;
        envelope = e;
        sectionId = sid;
+ setPeek(m.getPeek());
     }
 
     /*