Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
10 pom.xml
@@ -113,11 +113,11 @@
<artifactId>jersey-apache-client</artifactId>
<version>1.9</version>
</dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>1.6.2</version>
- </dependency>
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ <version>2.0</version>
+ </dependency>
</dependencies>
View
2 src/main/java/no/digipost/api/client/representations/ContentType.java
@@ -19,7 +19,7 @@
public enum ContentType {
- PDF(MediaType.APPLICATION_OCTET_STREAM),
+ PDF(MediaTypes.APPLICATION_PDF),
HTML(MediaType.TEXT_HTML);
private final String requestMediaType;
View
1 src/main/java/no/digipost/api/client/representations/MediaTypes.java
@@ -19,5 +19,6 @@
public static final String DIGIPOST_MEDIA_TYPE_V1 = "application/vnd.digipost-v1+xml";
public static final String DIGIPOST_MEDIA_TYPE_V2 = "application/vnd.digipost-v2+xml";
+ public static final String APPLICATION_PDF = "application/pdf";
}

No commit comments for this range

Something went wrong with that request. Please try again.