This commit is contained in:
2012-07-19 18:20:16 +02:00
parent ae45a329ae
commit c11977dce4
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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();