Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Fix copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
tony19 committed Jun 15, 2012
1 parent 98f5983 commit 90b227e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Ceki Gulcu, Anthony Trinh, et. al.
* Copyright (C) 2012, QOS.ch. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -79,21 +79,18 @@ public Bundle getBundle(String bundleName) {
public void start() {
// encoder requires layout
if ((_encoder == null) || (_encoder.getLayout() == null)) {
System.out.println("No layout set for the appender named [" + name + "]. Encoder=" + ((_encoder==null)?"null":"notnull")); //tony
addError("No layout set for the appender named [" + name + "].");
return;
}

// if no bundle name given, use our own Eclipse log instance
if (_bundleName == null) {
System.out.println("Assuming name of \"" + DEFAULT_BUNDLE_SYMBOLIC_NAME + "\" for the appender named [" + name + "].");//tony
addInfo("Assuming name of \"" + DEFAULT_BUNDLE_SYMBOLIC_NAME + "\" for the appender named [" + name + "].");
_bundleName = DEFAULT_BUNDLE_SYMBOLIC_NAME;
}

Bundle bundle = getPlatform().getBundle(_bundleName);
if (bundle == null) {
System.out.println("Invalid bundle name for the appender named [" + name + "].");//tony
addError("Invalid bundle name for the appender named [" + name + "].");
return;
}
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Anthony Trinh, et. al.
* Copyright (C) 2012, QOS.ch. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,4 +21,4 @@
public interface IPlatform {
ILog getLog(Bundle bundle);
Bundle getBundle(String bundleName);
}
}
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Anthony Trinh, et. al.
* Copyright (C) 2012, QOS.ch. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -360,4 +360,4 @@ public Version getVersion() {
// return null;
// }

}
}

0 comments on commit 90b227e

Please sign in to comment.