Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo
Commits
9fe78bd0
Commit
9fe78bd0
authored
Aug 09, 2016
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重构 - 代码格式调整
parent
c6049466
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/main/java/org/b3log/solo/processor/InitProcessor.java
src/main/java/org/b3log/solo/processor/InitProcessor.java
+1
-4
No files found.
src/main/java/org/b3log/solo/processor/InitProcessor.java
View file @
9fe78bd0
...
@@ -52,7 +52,7 @@ import org.json.JSONObject;
...
@@ -52,7 +52,7 @@ import org.json.JSONObject;
* Solo initialization service.
* Solo initialization service.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.0.
9, Apr 15
, 2016
* @version 1.2.0.
10, Aug 9
, 2016
* @since 0.4.0
* @since 0.4.0
*/
*/
@RequestProcessor
@RequestProcessor
...
@@ -152,11 +152,9 @@ public class InitProcessor {
...
@@ -152,11 +152,9 @@ public class InitProcessor {
}
}
final
JSONRenderer
renderer
=
new
JSONRenderer
();
final
JSONRenderer
renderer
=
new
JSONRenderer
();
context
.
setRenderer
(
renderer
);
context
.
setRenderer
(
renderer
);
final
JSONObject
ret
=
QueryResults
.
defaultResult
();
final
JSONObject
ret
=
QueryResults
.
defaultResult
();
renderer
.
setJSONObject
(
ret
);
renderer
.
setJSONObject
(
ret
);
try
{
try
{
...
@@ -180,7 +178,6 @@ public class InitProcessor {
...
@@ -180,7 +178,6 @@ public class InitProcessor {
}
}
final
Locale
locale
=
Locales
.
getLocale
(
request
);
final
Locale
locale
=
Locales
.
getLocale
(
request
);
requestJSONObject
.
put
(
Keys
.
LOCALE
,
locale
.
toString
());
requestJSONObject
.
put
(
Keys
.
LOCALE
,
locale
.
toString
());
initService
.
init
(
requestJSONObject
);
initService
.
init
(
requestJSONObject
);
...
...
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