Commit 62c537551523a4993c00e02678574fe1111b3b7e
1 parent
f6477612
Repackage pl.com.it_crowd to pl.itcrowd
Showing
31 changed files
with
71 additions
and
71 deletions
1 | -package pl.it_crowd.youtrack.api; | |
1 | +package pl.itcrowd.youtrack.api; | |
2 | 2 | |
3 | -import pl.it_crowd.youtrack.api.defaults.Fields; | |
4 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
3 | +import pl.itcrowd.youtrack.api.defaults.Fields; | |
4 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
5 | 5 | |
6 | 6 | public class Command { |
7 | 7 | // ------------------------------ FIELDS ------------------------------ | ... | ... |
1 | -package pl.it_crowd.youtrack.api; | |
1 | +package pl.itcrowd.youtrack.api; | |
2 | 2 | |
3 | 3 | import org.apache.commons.io.IOUtils; |
4 | -import pl.it_crowd.youtrack.api.rest.ObjectFactory; | |
4 | +import pl.itcrowd.youtrack.api.rest.ObjectFactory; | |
5 | 5 | |
6 | 6 | import javax.xml.bind.JAXBContext; |
7 | 7 | import javax.xml.bind.JAXBElement; | ... | ... |
1 | -package pl.it_crowd.youtrack.api; | |
1 | +package pl.itcrowd.youtrack.api; | |
2 | 2 | |
3 | -import pl.it_crowd.youtrack.api.defaults.DateValues; | |
4 | -import pl.it_crowd.youtrack.api.defaults.Fields; | |
5 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
3 | +import pl.itcrowd.youtrack.api.defaults.DateValues; | |
4 | +import pl.itcrowd.youtrack.api.defaults.Fields; | |
5 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
6 | 6 | |
7 | 7 | import java.util.ArrayList; |
8 | 8 | import java.util.List; | ... | ... |
1 | -package pl.it_crowd.youtrack.api; | |
1 | +package pl.itcrowd.youtrack.api; | |
2 | 2 | |
3 | 3 | import org.apache.commons.logging.Log; |
4 | 4 | import org.apache.commons.logging.LogFactory; |
5 | -import pl.it_crowd.youtrack.api.defaults.Fields; | |
6 | -import pl.it_crowd.youtrack.api.rest.Comment; | |
7 | -import pl.it_crowd.youtrack.api.rest.Field; | |
8 | -import pl.it_crowd.youtrack.api.rest.Issue; | |
5 | +import pl.itcrowd.youtrack.api.defaults.Fields; | |
6 | +import pl.itcrowd.youtrack.api.rest.Comment; | |
7 | +import pl.itcrowd.youtrack.api.rest.Field; | |
8 | +import pl.itcrowd.youtrack.api.rest.Issue; | |
9 | 9 | |
10 | 10 | import java.io.Serializable; |
11 | 11 | import java.util.ArrayList; | ... | ... |
1 | -package pl.it_crowd.youtrack.api; | |
1 | +package pl.itcrowd.youtrack.api; | |
2 | 2 | |
3 | 3 | import org.apache.commons.logging.Log; |
4 | 4 | import org.apache.commons.logging.LogFactory; |
... | ... | @@ -28,16 +28,16 @@ import org.apache.http.impl.conn.PoolingClientConnectionManager; |
28 | 28 | import org.apache.http.impl.conn.SchemeRegistryFactory; |
29 | 29 | import org.apache.http.message.BasicNameValuePair; |
30 | 30 | import org.apache.http.util.EntityUtils; |
31 | -import pl.it_crowd.youtrack.api.defaults.Fields; | |
32 | -import pl.it_crowd.youtrack.api.exceptions.NoResultFoundException; | |
33 | -import pl.it_crowd.youtrack.api.exceptions.YoutrackAPIException; | |
34 | -import pl.it_crowd.youtrack.api.exceptions.YoutrackErrorException; | |
35 | -import pl.it_crowd.youtrack.api.rest.AssigneeList; | |
36 | -import pl.it_crowd.youtrack.api.rest.Enumeration; | |
37 | -import pl.it_crowd.youtrack.api.rest.Issue; | |
38 | -import pl.it_crowd.youtrack.api.rest.Issues; | |
39 | -import pl.it_crowd.youtrack.api.rest.User; | |
40 | -import pl.it_crowd.youtrack.api.rest.UserRefs; | |
31 | +import pl.itcrowd.youtrack.api.defaults.Fields; | |
32 | +import pl.itcrowd.youtrack.api.exceptions.NoResultFoundException; | |
33 | +import pl.itcrowd.youtrack.api.exceptions.YoutrackAPIException; | |
34 | +import pl.itcrowd.youtrack.api.exceptions.YoutrackErrorException; | |
35 | +import pl.itcrowd.youtrack.api.rest.AssigneeList; | |
36 | +import pl.itcrowd.youtrack.api.rest.Enumeration; | |
37 | +import pl.itcrowd.youtrack.api.rest.Issue; | |
38 | +import pl.itcrowd.youtrack.api.rest.Issues; | |
39 | +import pl.itcrowd.youtrack.api.rest.User; | |
40 | +import pl.itcrowd.youtrack.api.rest.UserRefs; | |
41 | 41 | |
42 | 42 | import javax.net.ssl.SSLContext; |
43 | 43 | import javax.net.ssl.TrustManager; |
... | ... | @@ -61,7 +61,7 @@ import java.util.List; |
61 | 61 | import java.util.regex.Matcher; |
62 | 62 | import java.util.regex.Pattern; |
63 | 63 | |
64 | -import static pl.it_crowd.youtrack.api.URIUtils.buildURI; | |
64 | +import static pl.itcrowd.youtrack.api.URIUtils.buildURI; | |
65 | 65 | |
66 | 66 | public class YoutrackAPI { |
67 | 67 | // ------------------------------ FIELDS ------------------------------ |
... | ... | @@ -294,7 +294,7 @@ public class YoutrackAPI { |
294 | 294 | } |
295 | 295 | } |
296 | 296 | final Object result = YoutrackUnmarshaller.unmarshall(responseString); |
297 | - if (result instanceof pl.it_crowd.youtrack.api.rest.Issue) { | |
297 | + if (result instanceof pl.itcrowd.youtrack.api.rest.Issue) { | |
298 | 298 | return new IssueWrapper((Issue) result); |
299 | 299 | } else if (result instanceof JAXBElement) { |
300 | 300 | final JAXBElement jaxbElement = (JAXBElement) result; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.JAXBElement; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.JAXBElement; |
9 | 9 | import javax.xml.bind.annotation.XmlElementDecl; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | 5 | // |
6 | -package pl.it_crowd.youtrack.api.rest; | |
6 | +package pl.itcrowd.youtrack.api.rest; | |
7 | 7 | |
8 | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | 9 | import javax.xml.bind.annotation.XmlAccessorType; | ... | ... |
1 | -package pl.it_crowd.youtrack.api.rest; | |
1 | +package pl.itcrowd.youtrack.api.rest; | |
2 | 2 | |
3 | 3 | import junit.framework.Assert; |
4 | 4 | import org.junit.Test; |
5 | -import pl.it_crowd.youtrack.api.Command; | |
6 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
5 | +import pl.itcrowd.youtrack.api.Command; | |
6 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
7 | 7 | |
8 | 8 | public class CommandTest { |
9 | 9 | // -------------------------- OTHER METHODS -------------------------- | ... | ... |
1 | -package pl.it_crowd.youtrack.api.rest; | |
1 | +package pl.itcrowd.youtrack.api.rest; | |
2 | 2 | |
3 | 3 | import junit.framework.Assert; |
4 | 4 | import org.junit.Test; |
5 | -import pl.it_crowd.youtrack.api.Filter; | |
6 | -import pl.it_crowd.youtrack.api.defaults.DateValues; | |
7 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
5 | +import pl.itcrowd.youtrack.api.Filter; | |
6 | +import pl.itcrowd.youtrack.api.defaults.DateValues; | |
7 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
8 | 8 | |
9 | 9 | public class FilterTest { |
10 | 10 | // -------------------------- OTHER METHODS -------------------------- | ... | ... |
1 | -package pl.it_crowd.youtrack.api.rest; | |
1 | +package pl.itcrowd.youtrack.api.rest; | |
2 | 2 | |
3 | 3 | import org.junit.Test; |
4 | -import pl.it_crowd.youtrack.api.Filter; | |
5 | -import pl.it_crowd.youtrack.api.URIUtils; | |
6 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
4 | +import pl.itcrowd.youtrack.api.Filter; | |
5 | +import pl.itcrowd.youtrack.api.URIUtils; | |
6 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
7 | 7 | |
8 | 8 | import java.net.URI; |
9 | 9 | import java.net.URISyntaxException; | ... | ... |
1 | -package pl.it_crowd.youtrack.api.rest; | |
1 | +package pl.itcrowd.youtrack.api.rest; | |
2 | 2 | |
3 | 3 | import junit.framework.Assert; |
4 | 4 | import org.apache.commons.io.input.ReaderInputStream; |
... | ... | @@ -10,14 +10,14 @@ import org.apache.http.auth.AuthenticationException; |
10 | 10 | import org.apache.http.client.HttpClient; |
11 | 11 | import org.apache.http.client.methods.HttpUriRequest; |
12 | 12 | import org.junit.Test; |
13 | -import pl.it_crowd.youtrack.api.Command; | |
14 | -import pl.it_crowd.youtrack.api.Filter; | |
15 | -import pl.it_crowd.youtrack.api.IssueWrapper; | |
16 | -import pl.it_crowd.youtrack.api.YoutrackAPI; | |
17 | -import pl.it_crowd.youtrack.api.defaults.Fields; | |
18 | -import pl.it_crowd.youtrack.api.defaults.StateValues; | |
19 | -import pl.it_crowd.youtrack.api.exceptions.NoResultFoundException; | |
20 | -import pl.it_crowd.youtrack.api.exceptions.YoutrackErrorException; | |
13 | +import pl.itcrowd.youtrack.api.Command; | |
14 | +import pl.itcrowd.youtrack.api.Filter; | |
15 | +import pl.itcrowd.youtrack.api.IssueWrapper; | |
16 | +import pl.itcrowd.youtrack.api.YoutrackAPI; | |
17 | +import pl.itcrowd.youtrack.api.defaults.Fields; | |
18 | +import pl.itcrowd.youtrack.api.defaults.StateValues; | |
19 | +import pl.itcrowd.youtrack.api.exceptions.NoResultFoundException; | |
20 | +import pl.itcrowd.youtrack.api.exceptions.YoutrackErrorException; | |
21 | 21 | |
22 | 22 | import javax.xml.bind.JAXBException; |
23 | 23 | import java.io.IOException; | ... | ... |
Please
register
or
login
to post a comment