Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2015-02-21 16:39:25 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d32bfdcaa9ca5e7712ae725496868c3af624da86
d32bfdca
1 parent
fe8c98ad
Fixing javadocs.
Change-Id: I49faf425e0f9aa53547caf42f1d4025fb8d9dba6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
core/api/src/main/java/org/onosproject/ui/UiExtension.java
docs/external.xml
docs/pom.xml
web/gui/src/main/java/org/onosproject/ui/impl/AbstractInjectionResource.java
core/api/src/main/java/org/onosproject/ui/UiExtension.java
View file @
d32bfdc
...
...
@@ -35,6 +35,7 @@ public class UiExtension {
* Creates a user interface extension for loading CSS and JS injections
* from {@code css.html} and {@code js.html} resources, respectively.
*
* @param views list of contributed views
* @param classLoader class-loader for user interface resources
*/
public
UiExtension
(
List
<
UiView
>
views
,
ClassLoader
classLoader
)
{
...
...
docs/external.xml
View file @
d32bfdc
...
...
@@ -49,7 +49,7 @@
<version>
2.10.1
</version>
<configuration>
<show>
package
</show>
<excludePackageNames>
org.onlab.thirdparty:*.impl:*.impl.*:org.onosproject.provider.*:org.onosproject.
gui:org.onosproject.
rest:org.onosproject.cli*:org.onosproject.tvue:org.onosproject.foo:org.onosproject.mobility:org.onosproject.proxyarp:org.onosproject.fwd:org.onosproject.ifwd:org.onosproject.optical:org.onosproject.config:org.onosproject.calendar:org.onosproject.sdnip*:org.onosproject.oecfg:org.onosproject.metrics:org.onosproject.store.*:org.onosproject.openflow.*:org.onosproject.common.*:org.onosproject.net.group.impl:org.onosproject.routing*:org.onosproject.bgprouter:org.onosproject.intentperf
</excludePackageNames>
<excludePackageNames>
org.onlab.thirdparty:*.impl:*.impl.*:org.onosproject.provider.*:org.onosproject.rest:org.onosproject.cli*:org.onosproject.tvue:org.onosproject.foo:org.onosproject.mobility:org.onosproject.proxyarp:org.onosproject.fwd:org.onosproject.ifwd:org.onosproject.optical:org.onosproject.config:org.onosproject.calendar:org.onosproject.sdnip*:org.onosproject.oecfg:org.onosproject.metrics:org.onosproject.store.*:org.onosproject.openflow.*:org.onosproject.common.*:org.onosproject.net.group.impl:org.onosproject.routing*:org.onosproject.bgprouter:org.onosproject.intentperf
</excludePackageNames>
<docfilessubdirs>
true
</docfilessubdirs>
<doctitle>
ONOS Java API
</doctitle>
<groups>
...
...
docs/pom.xml
View file @
d32bfdc
...
...
@@ -93,7 +93,7 @@
<group>
<title>
GUI, REST
&
Command-Line
</title>
<packages>
org.onosproject.
gui
:org.onosproject.rest:org.onosproject.cli:org.onosproject.ui.*:org.onosproject.rest.*:org.onosproject.cli.*:org.onosproject.codec.impl
org.onosproject.
ui.impl
:org.onosproject.rest:org.onosproject.cli:org.onosproject.ui.*:org.onosproject.rest.*:org.onosproject.cli.*:org.onosproject.codec.impl
</packages>
</group>
<group>
...
...
web/gui/src/main/java/org/onosproject/ui/impl/AbstractInjectionResource.java
View file @
d32bfdc
...
...
@@ -37,6 +37,7 @@ public class AbstractInjectionResource extends BaseResource {
* @param string string to split
* @param start index where to start looking for pattern
* @param stopPattern optional pattern where to stop
* @return index where the split should occur
*/
protected
int
split
(
String
string
,
int
start
,
String
stopPattern
)
{
int
i
=
stopPattern
!=
null
?
string
.
indexOf
(
stopPattern
,
start
)
:
string
.
length
();
...
...
@@ -50,6 +51,7 @@ public class AbstractInjectionResource extends BaseResource {
* @param string source string
* @param start index where to start stream
* @param end index where to end stream
* @return input stream
*/
protected
InputStream
stream
(
String
string
,
int
start
,
int
end
)
{
return
new
ByteArrayInputStream
(
string
.
substring
(
start
,
end
).
getBytes
());
...
...
Please
register
or
login
to post a comment