Review Board 1.7.22


SpoolDirectory short name points at the wrong class

Review Request #8050 - Created Nov. 14, 2012 and submitted

Alexander Alten-Lorenz
FLUME-1705
Reviewers
Flume
flume-git
SourceType.java 

`org.apache.flume.conf.source.SpoolDirectorySource' should be `org.apache.flume.source.SpoolDirectorySource'
SUCCESS
flume-ng-configuration/src/main/java/org/apache/flume/conf/source/SourceType.java
Revision c7c511e New Change
[20] 79 lines
[+20]
80
  /**
80
  /**
81
   * Spool directory source
81
   * Spool directory source
82
   *
82
   *
83
   * @see org.apache.flume.source.SpoolDirectorySource
83
   * @see org.apache.flume.source.SpoolDirectorySource
84
   */
84
   */
85
  SPOOLDIR("org.apache.flume.conf.source.SpoolDirectorySource");
85
  SPOOLDIR("org.apache.flume.source.SpoolDirectorySource");
86

    
   
86

   
87
  private final String sourceClassName;
87
  private final String sourceClassName;
88

    
   
88

   
89
  private SourceType(String sourceClassName) {
89
  private SourceType(String sourceClassName) {
90
    this.sourceClassName = sourceClassName;
90
    this.sourceClassName = sourceClassName;
91
  }
91
  }
92

    
   
92

   
93
  public String getSourceClassName() {
93
  public String getSourceClassName() {
94
    return sourceClassName;
94
    return sourceClassName;
95
  }
95
  }
96
}
96
}
  1. flume-ng-configuration/src/main/java/org/apache/flume/conf/source/SourceType.java: Loading...