Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
fd16bc05
Commit
fd16bc05
authored
Dec 06, 2019
by
Evan W. Patton
Committed by
Jeffrey I. Schiller
Dec 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused HelpService
Change-Id: I3f54c7c2f3db0cfd32b9646f0ca4849cabdd00c6
parent
0e8be0ef
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
109 deletions
+0
-109
appinventor/appengine/src/com/google/appinventor/YaClient.gwt.xml
...tor/appengine/src/com/google/appinventor/YaClient.gwt.xml
+0
-2
appinventor/appengine/src/com/google/appinventor/client/Ode.java
...ntor/appengine/src/com/google/appinventor/client/Ode.java
+0
-16
appinventor/appengine/src/com/google/appinventor/server/HelpServiceImpl.java
...ne/src/com/google/appinventor/server/HelpServiceImpl.java
+0
-26
appinventor/appengine/src/com/google/appinventor/shared/rpc/ServerLayout.java
...e/src/com/google/appinventor/shared/rpc/ServerLayout.java
+0
-7
appinventor/appengine/src/com/google/appinventor/shared/rpc/help/HelpService.java
...c/com/google/appinventor/shared/rpc/help/HelpService.java
+0
-25
appinventor/appengine/src/com/google/appinventor/shared/rpc/help/HelpServiceAsync.java
.../google/appinventor/shared/rpc/help/HelpServiceAsync.java
+0
-23
appinventor/appengine/war/WEB-INF/web.xml
appinventor/appengine/war/WEB-INF/web.xml
+0
-10
No files found.
appinventor/appengine/src/com/google/appinventor/YaClient.gwt.xml
View file @
fd16bc05
...
...
@@ -37,7 +37,6 @@
<servlet
path=
"/components"
class=
"com.google.appinventor.server.ComponentServiceImpl"
/>
<servlet
path=
"/download"
class=
"com.google.appinventor.server.DownloadServlet"
/>
<servlet
path=
"/getmotd"
class=
"com.google.appinventor.server.GetMotdServiceImpl"
/>
<servlet
path=
"/help"
class=
"com.google.appinventor.server.HelpServiceImpl"
/>
<servlet
path=
"/projects"
class=
"com.google.appinventor.server.ProjectServiceImpl"
/>
<servlet
path=
"/upload"
class=
"com.google.appinventor.server.UploadServlet"
/>
<servlet
path=
"/userinfo"
class=
"com.google.appinventor.server.UserInfoServiceImpl"
/>
...
...
@@ -83,7 +82,6 @@
<source
path=
"shared/youngandroid"
/>
<source
path=
"shared/properties/json"
/>
<source
path=
"shared/rpc/component"
/>
<source
path=
"shared/rpc/help"
/>
<source
path=
"shared/rpc/launch"
/>
<source
path=
"shared/rpc/project"
/>
<source
path=
"shared/rpc/user"
/>
...
...
appinventor/appengine/src/com/google/appinventor/client/Ode.java
View file @
fd16bc05
...
...
@@ -68,8 +68,6 @@ import com.google.appinventor.shared.rpc.RpcResult;
import
com.google.appinventor.shared.rpc.ServerLayout
;
import
com.google.appinventor.shared.rpc.admin.AdminInfoService
;
import
com.google.appinventor.shared.rpc.admin.AdminInfoServiceAsync
;
import
com.google.appinventor.shared.rpc.help.HelpService
;
import
com.google.appinventor.shared.rpc.help.HelpServiceAsync
;
import
com.google.appinventor.shared.rpc.project.FileNode
;
import
com.google.appinventor.shared.rpc.project.GalleryAppListResult
;
import
com.google.appinventor.shared.rpc.project.GalleryComment
;
...
...
@@ -257,9 +255,6 @@ public class Ode implements EntryPoint {
// initially, and will be hidden automatically after the first RPC completes.
private
static
RpcStatusPopup
rpcStatusPopup
;
// Web service for help information
private
final
HelpServiceAsync
helpService
=
GWT
.
create
(
HelpService
.
class
);
// Web service for project related information
private
final
ProjectServiceAsync
projectService
=
GWT
.
create
(
ProjectService
.
class
);
...
...
@@ -997,7 +992,6 @@ public class Ode implements EntryPoint {
rpcStatusPopup
=
new
RpcStatusPopup
();
// Register services with RPC status popup
rpcStatusPopup
.
register
((
ExtendedServiceProxy
<?>)
helpService
);
rpcStatusPopup
.
register
((
ExtendedServiceProxy
<?>)
projectService
);
rpcStatusPopup
.
register
((
ExtendedServiceProxy
<?>)
galleryService
);
rpcStatusPopup
.
register
((
ExtendedServiceProxy
<?>)
userInfoService
);
...
...
@@ -1427,15 +1421,6 @@ public class Ode implements EntryPoint {
return
adminInfoService
;
}
/**
* Get an instance of the help web service.
*
* @return help service instance
*/
public
HelpServiceAsync
getHelpService
()
{
return
helpService
;
}
/**
* Get an instance of the component web service.
*
...
...
@@ -1687,7 +1672,6 @@ public class Ode implements EntryPoint {
}
// Unregister services with RPC status popup.
rpcStatusPopup
.
unregister
((
ExtendedServiceProxy
<?>)
helpService
);
rpcStatusPopup
.
unregister
((
ExtendedServiceProxy
<?>)
projectService
);
rpcStatusPopup
.
unregister
((
ExtendedServiceProxy
<?>)
userInfoService
);
...
...
appinventor/appengine/src/com/google/appinventor/server/HelpServiceImpl.java
deleted
100644 → 0
View file @
0e8be0ef
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package
com.google.appinventor.server
;
import
com.google.appinventor.shared.rpc.help.HelpService
;
/**
* Implementation of the help service.
*
* <p>The help service also provides information.
*
*/
public
class
HelpServiceImpl
extends
OdeRemoteServiceServlet
implements
HelpService
{
private
static
final
long
serialVersionUID
=
-
73163124332949366L
;
@Override
public
boolean
isProductionServer
()
{
return
Server
.
isProductionServer
();
}
}
appinventor/appengine/src/com/google/appinventor/shared/rpc/ServerLayout.java
View file @
fd16bc05
...
...
@@ -69,13 +69,6 @@ public class ServerLayout {
*/
public
static
final
String
ANDROID_SERVLET
=
"android"
;
/**
* Relative path of the
* {@link com.google.appinventor.shared.rpc.help.HelpService} within the
* ODE GWT module.
*/
public
static
final
String
HELP_SERVICE
=
"help"
;
/**
* Relative path of the
* {@link com.google.appinventor.shared.rpc.user.UserInfoService} within the
...
...
appinventor/appengine/src/com/google/appinventor/shared/rpc/help/HelpService.java
deleted
100644 → 0
View file @
0e8be0ef
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package
com.google.appinventor.shared.rpc.help
;
import
com.google.appinventor.shared.rpc.ServerLayout
;
import
com.google.gwt.user.client.rpc.RemoteService
;
import
com.google.gwt.user.client.rpc.RemoteServiceRelativePath
;
/**
* Interface for the service providing help information.
*
*/
@RemoteServiceRelativePath
(
ServerLayout
.
HELP_SERVICE
)
public
interface
HelpService
extends
RemoteService
{
/**
* Returns true if this server instance is running on app engine production
* @return is production server running
*/
boolean
isProductionServer
();
}
appinventor/appengine/src/com/google/appinventor/shared/rpc/help/HelpServiceAsync.java
deleted
100644 → 0
View file @
0e8be0ef
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package
com.google.appinventor.shared.rpc.help
;
import
com.google.gwt.user.client.rpc.AsyncCallback
;
/**
* Interface for the service providing help information. All
* declarations in this interface are mirrored in {@link HelpService}.
* For further information see {@link HelpService}.
*
*/
public
interface
HelpServiceAsync
{
/**
* @see HelpService#isProductionServer()
*/
void
isProductionServer
(
AsyncCallback
<
Boolean
>
callback
);
}
appinventor/appengine/war/WEB-INF/web.xml
View file @
fd16bc05
...
...
@@ -156,16 +156,6 @@
<servlet-name>
getMotdService
</servlet-name>
</filter-mapping>
<!-- help -->
<servlet>
<servlet-name>
helpService
</servlet-name>
<servlet-class>
com.google.appinventor.server.HelpServiceImpl
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
helpService
</servlet-name>
<url-pattern>
/ode/help
</url-pattern>
</servlet-mapping>
<!-- projects -->
<servlet>
<servlet-name>
projectService
</servlet-name>
...
...
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