Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cordova-plugin-local-notifications
Overview
Overview
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
Nabil Sadki
cordova-plugin-local-notifications
Commits
21ef5695
Commit
21ef5695
authored
Jan 05, 2018
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename internal methods
parent
e14cfe98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Request.java
src/android/notification/Request.java
+5
-5
No files found.
src/android/notification/Request.java
View file @
21ef5695
...
@@ -151,8 +151,8 @@ public final class Request {
...
@@ -151,8 +151,8 @@ public final class Request {
Object
every
=
spec
.
opt
(
"every"
);
Object
every
=
spec
.
opt
(
"every"
);
if
(
every
instanceof
JSONObject
)
{
if
(
every
instanceof
JSONObject
)
{
List
<
Integer
>
cmp1
=
getMatch
ingComponent
s
();
List
<
Integer
>
cmp1
=
getMatch
er
s
();
List
<
Integer
>
cmp2
=
getSpecial
MatchingComponent
s
();
List
<
Integer
>
cmp2
=
getSpecials
();
return
new
MatchTrigger
(
cmp1
,
cmp2
);
return
new
MatchTrigger
(
cmp1
,
cmp2
);
}
}
...
@@ -208,7 +208,7 @@ public final class Request {
...
@@ -208,7 +208,7 @@ public final class Request {
*
*
* @return [min, hour, day, month, year]
* @return [min, hour, day, month, year]
*/
*/
private
List
<
Integer
>
getMatch
ingComponent
s
()
{
private
List
<
Integer
>
getMatch
er
s
()
{
JSONObject
every
=
spec
.
optJSONObject
(
"every"
);
JSONObject
every
=
spec
.
optJSONObject
(
"every"
);
return
Arrays
.
asList
(
return
Arrays
.
asList
(
...
@@ -223,9 +223,9 @@ public final class Request {
...
@@ -223,9 +223,9 @@ public final class Request {
/**
/**
* Gets an array of all date parts to construct a datetime instance.
* Gets an array of all date parts to construct a datetime instance.
*
*
* @return [
min, hour, day, month, yea
r]
* @return [
weekday, weekdayOrdinal, weekOfMonth, quarte
r]
*/
*/
private
List
<
Integer
>
getSpecial
MatchingComponent
s
()
{
private
List
<
Integer
>
getSpecials
()
{
JSONObject
every
=
spec
.
optJSONObject
(
"every"
);
JSONObject
every
=
spec
.
optJSONObject
(
"every"
);
return
Arrays
.
asList
(
return
Arrays
.
asList
(
...
...
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