Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
9fdb3486
Commit
9fdb3486
authored
12 years ago
by
kwanggithub
Browse files
Options
Downloads
Patches
Plain Diff
fixing white space in NoOp.java
parent
6c182a24
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/floodlightcontroller/virtualnetwork/NoOp.java
+12
-11
12 additions, 11 deletions
...in/java/net/floodlightcontroller/virtualnetwork/NoOp.java
with
12 additions
and
11 deletions
src/main/java/net/floodlightcontroller/virtualnetwork/NoOp.java
+
12
−
11
View file @
9fdb3486
...
...
@@ -24,16 +24,17 @@ import org.restlet.resource.Put;
import
org.restlet.resource.ServerResource
;
public
class
NoOp
extends
ServerResource
{
/**
* Does nothing and returns 200 OK with a status message
* @return status: ok
*/
@Get
@Put
@Post
@Delete
public
String
noOp
(
String
postdata
)
{
setStatus
(
Status
.
SUCCESS_OK
);
/**
* Does nothing and returns 200 OK with a status message
*
* @return status: ok
*/
@Get
@Put
@Post
@Delete
public
String
noOp
(
String
postdata
)
{
setStatus
(
Status
.
SUCCESS_OK
);
return
"{\"status\":\"ok\"}"
;
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment