Changeset 99a21c2049fcefe65568396291a4f1fef7f1a547

Show
Ignore:
Timestamp:
09/09/09 04:12:49 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1252469569 +0000
git-parent:

[2456eb890d4d6ad34b2ad388e0f79a46feeeda39]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1252469569 +0000
Message:

cleanup, no functional change

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/java/com/omniti/reconnoiter/StratconMessage.java

    ra3f2dff r99a21c2  
    2323  private static DocumentBuilder parser = null; 
    2424 
    25   public static StratconMessage makeMessage(String xml)
     25  static
    2626    if(factory == null) { 
    2727      factory = DocumentBuilderFactory.newInstance(); 
     
    3636      } catch(Exception e) { } 
    3737    } 
     38  } 
    3839 
     40  public static StratconMessage makeMessage(String xml) { 
    3941    InputSource source = new InputSource(new StringReader(xml)); 
    4042 
  • src/java/com/omniti/reconnoiter/event/NoitEvent.java

    ra3f2dff r99a21c2  
    4444    epService.getEPAdministrator().getConfiguration() 
    4545             .addEventType("NoitStatus", cfg); 
    46 /* 
    47     cfg = new ConfigurationEventTypeXMLDOM(); 
    48     cfg.addXPathProperty("uuid", "/NoitMetricNumeric/id", XPathConstants.STRING); 
    49     cfg.addXPathProperty("name", "/NoitMetricNumeric/name", XPathConstants.STRING); 
    50     cfg.addXPathProperty("value", "/NoitMetricNumeric/value", XPathConstants.NUMBER); 
    51     cfg.addXPathProperty("noit", "/NoitMetricNumeric/remote", XPathConstants.STRING); 
    52     cfg.setRootElementName("NoitMetricNumeric"); 
    53     epService.getEPAdministrator().getConfiguration() 
    54              .addEventType("NoitMetricNumeric", cfg); 
    55 */ 
    5646    cfg = new ConfigurationEventTypeXMLDOM(); 
    5747    cfg.addXPathProperty("uuid", "/NoitMetricText/id", XPathConstants.STRING);