Commit f64776123a06f63101f1ed21977a46e511e37768
1 parent
a78d1343
Repackage pl.com.it_crowd to pl.itcrowd
Showing
33 changed files
with
84 additions
and
83 deletions
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | <modelVersion>4.0.0</modelVersion> | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 | ||
6 | - <groupId>pl.com.it-crowd</groupId> | 6 | + <groupId>pl.itcrowd</groupId> |
7 | <artifactId>youtrack-rest-api</artifactId> | 7 | <artifactId>youtrack-rest-api</artifactId> |
8 | <version>1.1.0-SNAPSHOT</version> | 8 | <version>1.1.0-SNAPSHOT</version> |
9 | 9 | ||
@@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
68 | </execution> | 68 | </execution> |
69 | </executions> | 69 | </executions> |
70 | <configuration> | 70 | <configuration> |
71 | - <packageName>pl.com.it_crowd.youtrack.api.rest</packageName> | 71 | + <packageName>pl.itcrowd.youtrack.api.rest</packageName> |
72 | <outputDirectory>${project.build.sourceDirectory}</outputDirectory> | 72 | <outputDirectory>${project.build.sourceDirectory}</outputDirectory> |
73 | <clearOutputDir>false</clearOutputDir> | 73 | <clearOutputDir>false</clearOutputDir> |
74 | <extension>false</extension> | 74 | <extension>false</extension> |
@@ -87,19 +87,19 @@ | @@ -87,19 +87,19 @@ | ||
87 | 87 | ||
88 | <distributionManagement> | 88 | <distributionManagement> |
89 | <repository> | 89 | <repository> |
90 | - <id>it-crowd.com.pl</id> | ||
91 | - <name>MyCo Internal Repository</name> | ||
92 | - <url>http://artifactory.it-crowd.com.pl/libs-release-local</url> | 90 | + <id>itcrowd.pl</id> |
91 | + <name>IT Crowd company internal repository</name> | ||
92 | + <url>http://artifactory.itcrowd.pl/libs-release-local</url> | ||
93 | </repository> | 93 | </repository> |
94 | <snapshotRepository> | 94 | <snapshotRepository> |
95 | - <id>it-crowd.com.pl</id> | ||
96 | - <name>MyCo Internal Repository</name> | ||
97 | - <url>http://artifactory.it-crowd.com.pl/libs-snapshot-local</url> | 95 | + <id>itcrowd.pl</id> |
96 | + <name>IT Crowd company internal repository</name> | ||
97 | + <url>http://artifactory.itcrowd.pl/libs-snapshot-local</url> | ||
98 | </snapshotRepository> | 98 | </snapshotRepository> |
99 | </distributionManagement> | 99 | </distributionManagement> |
100 | 100 | ||
101 | <scm> | 101 | <scm> |
102 | - <developerConnection>scm:svn:https://it-crowd.com.pl/svn/youtrack-rest-api/trunk</developerConnection> | 102 | + <developerConnection>scm:svn:https://itcrowd.pl/svn/youtrack-rest-api/trunk</developerConnection> |
103 | </scm> | 103 | </scm> |
104 | 104 | ||
105 | </project> | 105 | </project> |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | -import pl.com.it_crowd.youtrack.api.defaults.Fields; | ||
4 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | 3 | +import pl.it_crowd.youtrack.api.defaults.Fields; |
4 | +import pl.it_crowd.youtrack.api.defaults.StateValues; | ||
5 | 5 | ||
6 | public class Command { | 6 | public class Command { |
7 | // ------------------------------ FIELDS ------------------------------ | 7 | // ------------------------------ FIELDS ------------------------------ |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | import org.apache.commons.io.IOUtils; | 3 | import org.apache.commons.io.IOUtils; |
4 | -import pl.com.it_crowd.youtrack.api.rest.ObjectFactory; | 4 | +import pl.it_crowd.youtrack.api.rest.ObjectFactory; |
5 | 5 | ||
6 | import javax.xml.bind.JAXBContext; | 6 | import javax.xml.bind.JAXBContext; |
7 | import javax.xml.bind.JAXBElement; | 7 | import javax.xml.bind.JAXBElement; |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | -import pl.com.it_crowd.youtrack.api.defaults.DateValues; | ||
4 | -import pl.com.it_crowd.youtrack.api.defaults.Fields; | ||
5 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | 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; | ||
6 | 6 | ||
7 | import java.util.ArrayList; | 7 | import java.util.ArrayList; |
8 | import java.util.List; | 8 | import java.util.List; |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | import org.apache.commons.logging.Log; | 3 | import org.apache.commons.logging.Log; |
4 | import org.apache.commons.logging.LogFactory; | 4 | import org.apache.commons.logging.LogFactory; |
5 | -import pl.com.it_crowd.youtrack.api.defaults.Fields; | ||
6 | -import pl.com.it_crowd.youtrack.api.rest.Comment; | ||
7 | -import pl.com.it_crowd.youtrack.api.rest.Field; | ||
8 | -import pl.com.it_crowd.youtrack.api.rest.Issue; | 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; | ||
9 | 9 | ||
10 | import java.io.Serializable; | 10 | import java.io.Serializable; |
11 | import java.util.ArrayList; | 11 | import java.util.ArrayList; |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | import org.apache.commons.logging.Log; | 3 | import org.apache.commons.logging.Log; |
4 | import org.apache.commons.logging.LogFactory; | 4 | import org.apache.commons.logging.LogFactory; |
@@ -28,16 +28,16 @@ import org.apache.http.impl.conn.PoolingClientConnectionManager; | @@ -28,16 +28,16 @@ import org.apache.http.impl.conn.PoolingClientConnectionManager; | ||
28 | import org.apache.http.impl.conn.SchemeRegistryFactory; | 28 | import org.apache.http.impl.conn.SchemeRegistryFactory; |
29 | import org.apache.http.message.BasicNameValuePair; | 29 | import org.apache.http.message.BasicNameValuePair; |
30 | import org.apache.http.util.EntityUtils; | 30 | import org.apache.http.util.EntityUtils; |
31 | -import pl.com.it_crowd.youtrack.api.defaults.Fields; | ||
32 | -import pl.com.it_crowd.youtrack.api.exceptions.NoResultFoundException; | ||
33 | -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackAPIException; | ||
34 | -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackErrorException; | ||
35 | -import pl.com.it_crowd.youtrack.api.rest.AssigneeList; | ||
36 | -import pl.com.it_crowd.youtrack.api.rest.Enumeration; | ||
37 | -import pl.com.it_crowd.youtrack.api.rest.Issue; | ||
38 | -import pl.com.it_crowd.youtrack.api.rest.Issues; | ||
39 | -import pl.com.it_crowd.youtrack.api.rest.User; | ||
40 | -import pl.com.it_crowd.youtrack.api.rest.UserRefs; | 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; | ||
41 | 41 | ||
42 | import javax.net.ssl.SSLContext; | 42 | import javax.net.ssl.SSLContext; |
43 | import javax.net.ssl.TrustManager; | 43 | import javax.net.ssl.TrustManager; |
@@ -61,7 +61,7 @@ import java.util.List; | @@ -61,7 +61,7 @@ import java.util.List; | ||
61 | import java.util.regex.Matcher; | 61 | import java.util.regex.Matcher; |
62 | import java.util.regex.Pattern; | 62 | import java.util.regex.Pattern; |
63 | 63 | ||
64 | -import static pl.com.it_crowd.youtrack.api.URIUtils.buildURI; | 64 | +import static pl.it_crowd.youtrack.api.URIUtils.buildURI; |
65 | 65 | ||
66 | public class YoutrackAPI { | 66 | public class YoutrackAPI { |
67 | // ------------------------------ FIELDS ------------------------------ | 67 | // ------------------------------ FIELDS ------------------------------ |
@@ -294,7 +294,7 @@ public class YoutrackAPI { | @@ -294,7 +294,7 @@ public class YoutrackAPI { | ||
294 | } | 294 | } |
295 | } | 295 | } |
296 | final Object result = YoutrackUnmarshaller.unmarshall(responseString); | 296 | final Object result = YoutrackUnmarshaller.unmarshall(responseString); |
297 | - if (result instanceof pl.com.it_crowd.youtrack.api.rest.Issue) { | 297 | + if (result instanceof pl.it_crowd.youtrack.api.rest.Issue) { |
298 | return new IssueWrapper((Issue) result); | 298 | return new IssueWrapper((Issue) result); |
299 | } else if (result instanceof JAXBElement) { | 299 | } else if (result instanceof JAXBElement) { |
300 | final JAXBElement jaxbElement = (JAXBElement) result; | 300 | final JAXBElement jaxbElement = (JAXBElement) result; |
1 | -package pl.com.it_crowd.youtrack.api; | 1 | +package pl.it_crowd.youtrack.api; |
2 | 2 | ||
3 | -import pl.com.it_crowd.youtrack.api.rest.ObjectFactory; | 3 | +import pl.it_crowd.youtrack.api.rest.ObjectFactory; |
4 | 4 | ||
5 | import javax.xml.bind.JAXBContext; | 5 | import javax.xml.bind.JAXBContext; |
6 | import javax.xml.bind.JAXBException; | 6 | import javax.xml.bind.JAXBException; |
1 | -package pl.com.it_crowd.youtrack.api.defaults; | 1 | +package pl.it_crowd.youtrack.api.defaults; |
2 | 2 | ||
3 | public enum DateValues { | 3 | public enum DateValues { |
4 | Today, Yesterday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday, ThisWeek("{This week}"), LastWeek("{Last week}"), TwoWeeksAgo( | 4 | Today, Yesterday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday, ThisWeek("{This week}"), LastWeek("{Last week}"), TwoWeeksAgo( |
1 | -package pl.com.it_crowd.youtrack.api.defaults; | 1 | +package pl.it_crowd.youtrack.api.defaults; |
2 | 2 | ||
3 | -import pl.com.it_crowd.youtrack.api.Commander; | 3 | +import pl.it_crowd.youtrack.api.Commander; |
4 | 4 | ||
5 | public enum Fields implements Commander { | 5 | public enum Fields implements Commander { |
6 | assignee, | 6 | assignee, |
1 | -package pl.com.it_crowd.youtrack.api.exceptions; | 1 | +package pl.it_crowd.youtrack.api.exceptions; |
2 | 2 | ||
3 | public class NoResultFoundException extends RuntimeException { | 3 | public class NoResultFoundException extends RuntimeException { |
4 | // --------------------------- CONSTRUCTORS --------------------------- | 4 | // --------------------------- CONSTRUCTORS --------------------------- |
1 | -package pl.com.it_crowd.youtrack.api.exceptions; | 1 | +package pl.it_crowd.youtrack.api.exceptions; |
2 | 2 | ||
3 | public class YoutrackAPIException extends RuntimeException { | 3 | public class YoutrackAPIException extends RuntimeException { |
4 | // --------------------------- CONSTRUCTORS --------------------------- | 4 | // --------------------------- CONSTRUCTORS --------------------------- |
1 | -package pl.com.it_crowd.youtrack.api.exceptions; | 1 | +package pl.it_crowd.youtrack.api.exceptions; |
2 | 2 | ||
3 | public class YoutrackErrorException extends RuntimeException { | 3 | public class YoutrackErrorException extends RuntimeException { |
4 | // ------------------------------ FIELDS ------------------------------ | 4 | // ------------------------------ FIELDS ------------------------------ |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.JAXBElement; | 8 | import javax.xml.bind.JAXBElement; |
9 | import javax.xml.bind.annotation.XmlAccessType; | 9 | import javax.xml.bind.annotation.XmlAccessType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.JAXBElement; | 8 | import javax.xml.bind.JAXBElement; |
9 | import javax.xml.bind.annotation.XmlElementDecl; | 9 | import javax.xml.bind.annotation.XmlElementDecl; |
@@ -13,7 +13,7 @@ import javax.xml.namespace.QName; | @@ -13,7 +13,7 @@ import javax.xml.namespace.QName; | ||
13 | /** | 13 | /** |
14 | * This object contains factory methods for each | 14 | * This object contains factory methods for each |
15 | * Java content interface and Java element interface | 15 | * Java content interface and Java element interface |
16 | - * generated in the pl.com.it_crowd.youtrack.api.rest package. | 16 | + * generated in the pl.it_crowd.youtrack.api.rest package. |
17 | * <p>An ObjectFactory allows you to programatically | 17 | * <p>An ObjectFactory allows you to programatically |
18 | * construct new instances of the Java representation | 18 | * construct new instances of the Java representation |
19 | * for XML content. The Java representation of XML | 19 | * for XML content. The Java representation of XML |
@@ -42,7 +42,7 @@ public class ObjectFactory { | @@ -42,7 +42,7 @@ public class ObjectFactory { | ||
42 | // --------------------------- CONSTRUCTORS --------------------------- | 42 | // --------------------------- CONSTRUCTORS --------------------------- |
43 | 43 | ||
44 | /** | 44 | /** |
45 | - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.com.it_crowd.youtrack.api.rest | 45 | + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.it_crowd.youtrack.api.rest |
46 | */ | 46 | */ |
47 | public ObjectFactory() | 47 | public ObjectFactory() |
48 | { | 48 | { |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
5 | // | 5 | // |
6 | -package pl.com.it_crowd.youtrack.api.rest; | 6 | +package pl.it_crowd.youtrack.api.rest; |
7 | 7 | ||
8 | import javax.xml.bind.annotation.XmlAccessType; | 8 | import javax.xml.bind.annotation.XmlAccessType; |
9 | import javax.xml.bind.annotation.XmlAccessorType; | 9 | import javax.xml.bind.annotation.XmlAccessorType; |
1 | -<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 1 | +<jxb:bindings version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" |
2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
2 | xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"> | 3 | xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"> |
3 | 4 | ||
4 | 5 |
1 | -package pl.com.it_crowd.youtrack.api.rest; | 1 | +package pl.it_crowd.youtrack.api.rest; |
2 | 2 | ||
3 | import junit.framework.Assert; | 3 | import junit.framework.Assert; |
4 | import org.junit.Test; | 4 | import org.junit.Test; |
5 | -import pl.com.it_crowd.youtrack.api.Command; | ||
6 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | 5 | +import pl.it_crowd.youtrack.api.Command; |
6 | +import pl.it_crowd.youtrack.api.defaults.StateValues; | ||
7 | 7 | ||
8 | public class CommandTest { | 8 | public class CommandTest { |
9 | // -------------------------- OTHER METHODS -------------------------- | 9 | // -------------------------- OTHER METHODS -------------------------- |
1 | -package pl.com.it_crowd.youtrack.api.rest; | 1 | +package pl.it_crowd.youtrack.api.rest; |
2 | 2 | ||
3 | import junit.framework.Assert; | 3 | import junit.framework.Assert; |
4 | import org.junit.Test; | 4 | import org.junit.Test; |
5 | -import pl.com.it_crowd.youtrack.api.Filter; | ||
6 | -import pl.com.it_crowd.youtrack.api.defaults.DateValues; | ||
7 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | 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; | ||
8 | 8 | ||
9 | public class FilterTest { | 9 | public class FilterTest { |
10 | // -------------------------- OTHER METHODS -------------------------- | 10 | // -------------------------- OTHER METHODS -------------------------- |
1 | -package pl.com.it_crowd.youtrack.api.rest; | 1 | +package pl.it_crowd.youtrack.api.rest; |
2 | 2 | ||
3 | import org.junit.Test; | 3 | import org.junit.Test; |
4 | -import pl.com.it_crowd.youtrack.api.Filter; | ||
5 | -import pl.com.it_crowd.youtrack.api.URIUtils; | ||
6 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | 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; | ||
7 | 7 | ||
8 | import java.net.URI; | 8 | import java.net.URI; |
9 | import java.net.URISyntaxException; | 9 | import java.net.URISyntaxException; |
1 | -package pl.com.it_crowd.youtrack.api.rest; | 1 | +package pl.it_crowd.youtrack.api.rest; |
2 | 2 | ||
3 | import junit.framework.Assert; | 3 | import junit.framework.Assert; |
4 | import org.apache.commons.io.input.ReaderInputStream; | 4 | import org.apache.commons.io.input.ReaderInputStream; |
@@ -10,14 +10,14 @@ import org.apache.http.auth.AuthenticationException; | @@ -10,14 +10,14 @@ import org.apache.http.auth.AuthenticationException; | ||
10 | import org.apache.http.client.HttpClient; | 10 | import org.apache.http.client.HttpClient; |
11 | import org.apache.http.client.methods.HttpUriRequest; | 11 | import org.apache.http.client.methods.HttpUriRequest; |
12 | import org.junit.Test; | 12 | import org.junit.Test; |
13 | -import pl.com.it_crowd.youtrack.api.Command; | ||
14 | -import pl.com.it_crowd.youtrack.api.Filter; | ||
15 | -import pl.com.it_crowd.youtrack.api.IssueWrapper; | ||
16 | -import pl.com.it_crowd.youtrack.api.YoutrackAPI; | ||
17 | -import pl.com.it_crowd.youtrack.api.defaults.Fields; | ||
18 | -import pl.com.it_crowd.youtrack.api.defaults.StateValues; | ||
19 | -import pl.com.it_crowd.youtrack.api.exceptions.NoResultFoundException; | ||
20 | -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackErrorException; | 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; | ||
21 | 21 | ||
22 | import javax.xml.bind.JAXBException; | 22 | import javax.xml.bind.JAXBException; |
23 | import java.io.IOException; | 23 | import java.io.IOException; |
Please
register
or
login
to post a comment