-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated headers to reflect that Robert Drysdale contributed (a lot) t…
…o those files.
- Loading branch information
Showing
10 changed files
with
798 additions
and
806 deletions.
There are no files selected for viewing
49 changes: 24 additions & 25 deletions
49
src/main/java/org/springframework/social/dropbox/api/impl/DropboxModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,25 +1,24 @@ | |||
package org.springframework.social.dropbox.api.impl; | package org.springframework.social.dropbox.api.impl; | ||
|
|
||
import org.codehaus.jackson.Version; | import org.codehaus.jackson.Version; | ||
import org.codehaus.jackson.map.module.SimpleModule; | import org.codehaus.jackson.map.module.SimpleModule; | ||
import org.springframework.social.dropbox.api.DropboxUserProfile; | import org.springframework.social.dropbox.api.DropboxUserProfile; | ||
import org.springframework.social.dropbox.api.FileUrl; | import org.springframework.social.dropbox.api.FileUrl; | ||
import org.springframework.social.dropbox.api.Metadata; | import org.springframework.social.dropbox.api.Metadata; | ||
|
|
||
/** | /** | ||
* User: Bryce Fischer | * @author Bryce Fischer | ||
* Date: 5/17/11 | * @author Robert Drysdale | ||
* Time: 11:06 AM | */ | ||
*/ | public class DropboxModule extends SimpleModule { | ||
public class DropboxModule extends SimpleModule { | public DropboxModule() { | ||
public DropboxModule() { | super("DropboxModule", new Version(1, 0, 0, null)); | ||
super("DropboxModule", new Version(1, 0, 0, null)); | } | ||
} |
|
||
|
@Override | ||
@Override | public void setupModule(SetupContext context) { | ||
public void setupModule(SetupContext context) { | context.setMixInAnnotations(DropboxUserProfile.class, DropboxUserProfileMixin.class); | ||
context.setMixInAnnotations(DropboxUserProfile.class, DropboxUserProfileMixin.class); | context.setMixInAnnotations(Metadata.class, MetadataMixin.class); | ||
context.setMixInAnnotations(Metadata.class, MetadataMixin.class); | context.setMixInAnnotations(FileUrl.class, FileUrlMixin.class); | ||
context.setMixInAnnotations(FileUrl.class, FileUrlMixin.class); | } | ||
} | } | ||
} |
Oops, something went wrong.