Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: r1426 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline

subclipse
Discussion topic

Back to topic list

subclipse commit: r1426 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline

Author dlr
Full name Daniel Rall
Date 2005-07-02 21:23:07 PDT
Message Author: dlr
Date: Sat Jul 2 23:23:01 2005
New Revision: 1426

Modified:
   trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/commandli​ne/SvnCommandLine.ja​va

Log:
[in svnClientAdapter/src​/main/org/tigris/sub​version/svnclientada​pter/]
* commandline/SvnCommandLine.java
  (cat, diff, propget): Reduced size of code block used to produce a
   return value by refactoring the code to removed unnecessary local
   InputStream variable.


Modified: trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/commandli​ne/SvnCommandLine.ja​va
Url: http://svn.collab.ne​t/viewcvs/subclipse/​trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/commandli​ne/SvnCommandLine.ja​va?rev=1426&p1=t​runk/svnClientAdapte​r/src/main/org/tigri​s/subversion/svnclie​ntadapter/commandlin​e/SvnCommandLine.jav​a&p2=trunk/svnCl​ientAdapter/src/main​/org/tigris/subversi​on/svnclientadapter/​commandline/SvnComma​ndLine.java&r1=1​425&r2=1426
====================​====================​====================​==================
--- trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/commandli​ne/SvnCommandLine.ja​va (original)
+++ trunk/svnClientAdapt​er/src/main/org/tigr​is/subversion/svncli​entadapter/commandli​ne/SvnCommandLine.ja​va Sat Jul 2 23:23:01 2005
@@ -151,12 +151,8 @@
         args.add(url);
         addAuthInfo(args);
         addConfigInfo(args);
-
- Process proc =
- execProcess(args);
-
- InputStream content = proc.getInputStream();
- return content;
+ Process proc = execProcess(args);
+ return proc.getInputStream();
     }
 
     /**
@@ -346,9 +342,7 @@
         args.add(newPath);
         addConfigInfo(args);
         Process proc = execProcess(args);
-
- InputStream content = proc.getInputStream();
- return content;
+ return proc.getInputStream();
     }
 
     /**
@@ -579,8 +573,7 @@
         args.add(path);
         addAuthInfo(args);
         addConfigInfo(args);
- Process proc =
- execProcess(args);
+ Process proc = execProcess(args);
         return proc.getInputStream();
     }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: r1426 - trunk/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline dlr Daniel Rall 2005-07-02 21:23:07 PDT
Messages per page: