Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
CTF
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grzegorz
CTF
Commits
d00f2db2
Commit
d00f2db2
authored
Apr 11, 2016
by
Grzegorz Pietrusza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
json propoerty write
parent
b25409d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Flag.java
...main/java/com/telephoners/krakyournet/ctf/beans/Flag.java
+3
-3
No files found.
service/src/main/java/com/telephoners/krakyournet/ctf/beans/Flag.java
View file @
d00f2db2
package
com
.
telephoners
.
krakyournet
.
ctf
.
beans
;
import
com.fasterxml.jackson.annotation.Json
Ignore
;
import
com.fasterxml.jackson.annotation.Json
Property
;
public
class
Flag
{
private
String
value
;
...
...
@@ -16,12 +16,12 @@ public class Flag {
this
.
points
=
points
;
}
// @JsonIgnore //TODO!!
@JsonProperty
(
access
=
JsonProperty
.
Access
.
WRITE_ONLY
)
public
String
getValue
()
{
return
value
;
}
// @JsonIgnore //TODO!!
@JsonProperty
(
access
=
JsonProperty
.
Access
.
WRITE_ONLY
)
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment