User: juha    
  Date: 00/06/11 11:14:41

  Modified:    src/main/org/jboss/verifier/event
                        VerificationEventFactory.java
  Log:
  Added a couple of [TODO] msg strings. It's easier than seeing a bunch of <undefined> 
strings.
  Also, all events created with factory.createSpecViolation now properly set as of 
WARNING type.
  
  Revision  Changes    Path
  1.5       +6 -5      
jboss/src/main/org/jboss/verifier/event/VerificationEventFactory.java
  
  Index: VerificationEventFactory.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/verifier/event/VerificationEventFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- VerificationEventFactory.java     2000/06/03 21:43:56     1.4
  +++ VerificationEventFactory.java     2000/06/11 18:14:41     1.5
  @@ -19,7 +19,7 @@
    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    *
    * This package and its source code is available at www.jboss.org
  - * $Id: VerificationEventFactory.java,v 1.4 2000/06/03 21:43:56 juha Exp $
  + * $Id: VerificationEventFactory.java,v 1.5 2000/06/11 18:14:41 juha Exp $
    */
   
    
  @@ -49,7 +49,7 @@
    * @see     << OTHER RELATED CLASSES >>
    *
    * @author   Juha Lindfors   ([EMAIL PROTECTED])
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    * @since    JDK 1.3
    */
   public class VerificationEventFactory {
  @@ -68,6 +68,7 @@
                                                         )  {
                        
           VerificationEvent event = new VerificationEvent(source);
  +        event.setState(VerificationEvent.WARNING);
   
           
           if (EJBVerifier11.SECTION_6_5_1.equals(section))
  @@ -153,7 +154,7 @@
       
       private void buildBeanManagedTxSessionCannotSynchEvent(VerificationEvent event, 
String name) {
           
  -    //    event.setMessage();
  +        event.setMessage("[TODO] bmt cannot use synch interface");
       //    event.setVerbose();
       }
       
  @@ -165,7 +166,7 @@
       
       private void buildBeanManagedTxBeanCannotSynchEvent(VerificationEvent event, 
String name) {
           
  -    //    event.setMessage();
  +        event.setMessage("[TODO] bmt cannot use synch interface...");
       //    event.setVerbose();
       }
       
  @@ -195,7 +196,7 @@
   
       private void buildSessionBeanDefinesFinalizerEvent(VerificationEvent event, 
String name) {
           
  -    //    event.setMessage();
  +        event.setMessage("[TODO] no finalizers allowed");
       //    event.setVerbose();
       }
   
  
  
  

Reply via email to