summaryrefslogtreecommitdiff
path: root/src/java
diff options
context:
space:
mode:
authorДилян Палаузов <git-dpa@aegee.org>2022-12-08 20:56:04 +0200
committerAllen Winter <allen.winter@kdab.com>2022-12-10 06:06:11 -0500
commit708db8d2aa747b80db29815a57a377ffe34e7868 (patch)
tree966ae512d27327b5f57b2dc43c72483df2401e04 /src/java
parent1da793fee7a553790fa6fed919dacc4210b98969 (diff)
downloadlibical-git-708db8d2aa747b80db29815a57a377ffe34e7868.tar.gz
Typos a/an
Diffstat (limited to 'src/java')
-rw-r--r--src/java/jlibical_utils_cxx.cpp4
-rw-r--r--src/java/testjni.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/java/jlibical_utils_cxx.cpp b/src/java/jlibical_utils_cxx.cpp
index e52e33f4..b20b5cc4 100644
--- a/src/java/jlibical_utils_cxx.cpp
+++ b/src/java/jlibical_utils_cxx.cpp
@@ -98,8 +98,8 @@ void setCObjectPtr(JNIEnv *env, jobject surrogate, void* subject)
}
//-------------------------------------------------------
-// Return the pointer to the subject (as an VComponent*) from the given surrogate.
-// If the subject is not an VComponent type, or if the subject is NULL, then return NULL.
+// Return the pointer to the subject (as a VComponent*) from the given surrogate.
+// If the subject is not a VComponent type, or if the subject is NULL, then return NULL.
//-------------------------------------------------------
VComponent* getSubjectAsVComponent(JNIEnv *env, jobject surrogateComponent, int exceptionType)
{
diff --git a/src/java/testjni.java b/src/java/testjni.java
index 89ff875b..ccbffc0e 100644
--- a/src/java/testjni.java
+++ b/src/java/testjni.java
@@ -324,7 +324,7 @@ public class testjni
VAlarm valarm = new VAlarm();
System.out.println("created valarm");
- // 1. Create a ICAL_DURATION_PROPERTY using the TimePeriod.
+ // 1. Create an ICAL_DURATION_PROPERTY using the TimePeriod.
ICalDurationType duration = new ICalDurationType();
duration.setDays((long) 0);
duration.setHours((long) 0);
@@ -337,7 +337,7 @@ public class testjni
// AFTER the event or task start or due date, which is useless.
duration.setIs_neg(1);
- // 2. Create a ICalTriggerType object and set the duration on it.
+ // 2. Create an ICalTriggerType object and set the duration on it.
ICalTriggerType trigger = new ICalTriggerType();
trigger.setDuration(duration);
System.out.println("set trigger to duration object");