mc
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>WebCallerID</groupId>
|
<groupId>WebCallerID</groupId>
|
||||||
<artifactId>WebCallerID</artifactId>
|
<artifactId>WebCallerID</artifactId>
|
||||||
<version>1.0.1</version>
|
<version>1.0.2</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>log4j</groupId>
|
<groupId>log4j</groupId>
|
||||||
|
|||||||
@@ -178,7 +178,6 @@ public class CallerIdClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void sendNotification(String time, String number) throws Exception {
|
private void sendNotification(String time, String number) throws Exception {
|
||||||
log.info("Sende Nachricht: " + "Anruf von " + number + "\n" + time);
|
|
||||||
|
|
||||||
if (number.equals(" "))
|
if (number.equals(" "))
|
||||||
number = TEXT_UNKNOWN;
|
number = TEXT_UNKNOWN;
|
||||||
@@ -205,7 +204,6 @@ public class CallerIdClient {
|
|||||||
for (int i = 0; i < to.length; i++) {
|
for (int i = 0; i < to.length; i++) {
|
||||||
toAddress[i] = new InternetAddress(to[i]);
|
toAddress[i] = new InternetAddress(to[i]);
|
||||||
}
|
}
|
||||||
System.out.println(Message.RecipientType.TO);
|
|
||||||
|
|
||||||
for (int i = 0; i < toAddress.length; i++) {
|
for (int i = 0; i < toAddress.length; i++) {
|
||||||
message.addRecipient(Message.RecipientType.TO, toAddress[i]);
|
message.addRecipient(Message.RecipientType.TO, toAddress[i]);
|
||||||
@@ -224,7 +222,7 @@ public class CallerIdClient {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
BasicConfigurator.configure(new ConsoleAppender(new PatternLayout("%d{ISO8601} - %m%n")));
|
BasicConfigurator.configure(new ConsoleAppender(new PatternLayout("%d{ISO8601} - %m%n")));
|
||||||
log.info("Starting CallerIdClient version 1.0.1");
|
log.info("Starting CallerIdClient version 1.0.2");
|
||||||
|
|
||||||
JSAP jsap = new JSAP();
|
JSAP jsap = new JSAP();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user