Show
Ignore:
Timestamp:
07/03/08 19:49:47 (5 months ago)
Author:
yamashiro
Message:

不正なid/パスワードのときに固まる問題が再現したので修正した。また、その際に、userNameなどをuserIdに統一するようにリファクタリングしたり、その他のリファクタを行った

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/eclipse/sabotter/trunk/jp.xet.sabotter.core/src/jp/xet/sabotter/core/wassr/WassrEntry.java

    r15090 r15114  
    11package jp.xet.sabotter.core.wassr; 
    22 
    3 import java.text.ParseException; 
    43import java.util.Date; 
    54 
     
    76import jp.xet.sabotter.core.MiniblogUser; 
    87 
     8/** 
     9 * わっサー版のエントリーです。 
     10 *  
     11 * @author yamashiro 
     12 */ 
    913@SuppressWarnings("serial") 
    1014public class WassrEntry implements MiniblogEntry { 
     
    2933        /** 
    3034         * コンストラクタ。 
    31          * @param id  
    32          * @param text  
    33          * @param timeStamp  
    34          * @param user  
    35          * @param isDirectMessage  
    36          * @param isMessageToMe  
    37          * @param isMyEntry  
    38          * @category instance creation 
     35         *  
     36         * @param id 
     37         * @param text 
     38         * @param timeStamp 
     39         * @param user 
     40         * @param isDirectMessage 
     41         * @param isMessageToMe 
     42         * @param isMyEntry creation 
    3943         */ 
    4044        public WassrEntry(String id, String text, Date timeStamp, MiniblogUser user, boolean isDirectMessage, 
     
    5761        } 
    5862         
     63        /** 
     64         * {@inheritDoc} 
     65         */ 
    5966        public String getId() { 
    6067                return id; 
    6168        } 
    6269         
     70        /** 
     71         * {@inheritDoc} 
     72         */ 
    6373        public String getText() { 
    6474                return text; 
    6575        } 
    6676         
    67         public Date getTimeSatmp() throws ParseException { 
     77        /** 
     78         * {@inheritDoc} 
     79         */ 
     80        public Date getTimeSatmp() { 
    6881                return timeStamp; 
    6982        } 
    7083         
     84        /** 
     85         * {@inheritDoc} 
     86         */ 
    7187        public MiniblogUser getUser() { 
    7288                return user; 
    7389        } 
    7490         
     91        /** 
     92         * {@inheritDoc} 
     93         */ 
    7594        public boolean isDirectMessage() { 
    7695                return isDirectMessage; 
    7796        } 
    7897         
     98        /** 
     99         * {@inheritDoc} 
     100         */ 
    79101        public boolean isMessageToMe(String myId) { 
    80102                return isMessageToMe; 
    81103        } 
    82104         
     105        /** 
     106         * {@inheritDoc} 
     107         */ 
    83108        public boolean isMyEntry(String myId) { 
    84109                return isMyEntry; 
    85110        } 
    86111         
     112        /** 
     113         * {@inheritDoc} 
     114         */ 
    87115        public boolean isUnread() { 
    88116                return isUnread; 
    89117        } 
    90118         
     119        /** 
     120         * {@inheritDoc} 
     121         */ 
    91122        public void setUnread(boolean unread) { 
    92123                this.isUnread = unread;