khammond    01/10/16 06:31:57

  Modified:    src/org/apache/jmeter/protocol/jdbc/config DbConfig.java
  Log:
  Code from Amith Varghese:
  
  Here are my changes to the JDBC input box.  I basically changed the
  Database URL label to JDBC URL and I removed the Sub Protocol box from the GUI
  and code.
  
  Revision  Changes    Path
  1.8       +1 -17     
jakarta-jmeter/src/org/apache/jmeter/protocol/jdbc/config/DbConfig.java
  
  Index: DbConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/jdbc/config/DbConfig.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DbConfig.java     2001/08/28 21:28:32     1.7
  +++ DbConfig.java     2001/10/16 13:31:57     1.8
  @@ -69,7 +69,6 @@
   public class DbConfig extends LoginConfig implements Serializable
   {
        public static final String DRIVER = "driver";
  -     public static final String SUB_PROTOCOL = "sub_protocol";
        public static final String URL = "url";
   
        public DbConfig()
  @@ -103,11 +102,6 @@
                this.putProperty(URL,url);
        }
   
  -     public String getConnectionString()
  -     {
  -             return "jdbc:"+getSubProtocol()+"://"+getUrl();
  -     }
  -
        public String getDriver()
        {
                return (String)this.getProperty(DRIVER);
  @@ -118,18 +112,8 @@
                this.putProperty(DRIVER,driver);
        }
   
  -     public String getSubProtocol()
  -     {
  -             return (String)this.getProperty(SUB_PROTOCOL);
  -     }
  -
  -     public void setSubProtocol(String sub_protocol)
  -     {
  -             this.putProperty(SUB_PROTOCOL,sub_protocol);
  -     }
  -
        public String getClassLabel()
        {
                return "Database Login";
        }
  -}
  \ No newline at end of file
  +}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to