Commit f81513284cf7aa4a98c601d6877b7188e915967c
1 parent
bbe6a628
Add functionality change billed hours (codestyle)
Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -14,9 +14,7 @@ import org.apache.http.auth.AuthenticationException; |
14 | 14 | import pl.com.it_crowd.youtrack.api.rest.Issues; |
15 | 15 | |
16 | 16 | import javax.xml.bind.JAXBException; |
17 | -import java.io.BufferedReader; | |
18 | 17 | import java.io.IOException; |
19 | -import java.io.InputStreamReader; | |
20 | 18 | import java.net.MalformedURLException; |
21 | 19 | import java.net.URL; |
22 | 20 | import java.security.GeneralSecurityException; |
... | ... | @@ -93,7 +91,8 @@ public class YoutrackAPI { |
93 | 91 | return result; |
94 | 92 | } |
95 | 93 | |
96 | - public void setTotalBilledHours(String issueSignature, Long billedHours) { | |
94 | + public void setTotalBilledHours(String issueSignature, Long billedHours) | |
95 | + { | |
97 | 96 | String url = serviceLocation + "/rest/issue/" + issueSignature + "/execute"; |
98 | 97 | ArrayList<NameValuePair> requestParameters = new ArrayList<NameValuePair>(); |
99 | 98 | requestParameters.add(new NameValuePair("command", "Billed hours " + billedHours)); |
... | ... | @@ -108,7 +107,8 @@ public class YoutrackAPI { |
108 | 107 | } |
109 | 108 | } |
110 | 109 | |
111 | - public void setTotalIssueDuration(String issueSignature, Long issueTotalDuration){ | |
110 | + public void setTotalIssueDuration(String issueSignature, Long issueTotalDuration) | |
111 | + { | |
112 | 112 | String url = serviceLocation + "/rest/issue/" + issueSignature + "/execute"; |
113 | 113 | ArrayList<NameValuePair> requestParameters = new ArrayList<NameValuePair>(); |
114 | 114 | requestParameters.add(new NameValuePair("command", "Real completion time " + issueTotalDuration)); | ... | ... |
Please
register
or
login
to post a comment