This repository has been archived by the owner on Nov 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
half-hearted attempt to define some fields to be XStream-seriazliable…
… but not Java serializable
- Loading branch information
Showing
3 changed files
with
26 additions
and
216 deletions.
There are no files selected for viewing
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
14 changes: 14 additions & 0 deletions
14
xstream/src/java/com/thoughtworks/xstream/annotations/XStreamSerializable.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.thoughtworks.xstream.annotations; | ||
|
||
import static java.lang.annotation.ElementType.FIELD; | ||
import java.lang.annotation.Retention; | ||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* @author Kohsuke Kawaguchi | ||
*/ | ||
@Retention(RUNTIME) | ||
@Target(FIELD) | ||
public @interface XStreamSerializable { | ||
} |
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