From c5bbd5dbf6230d98ae221e7cd4e7bdc1a49da379 Mon Sep 17 00:00:00 2001 From: brinn <brinn> Date: Mon, 10 Mar 2008 07:31:13 +0000 Subject: [PATCH] add: license header SVN: 4715 --- .../cisd/common/collections/CollectionStyle.java | 16 ++++++++++++++++ .../systemsx/cisd/common/logging/LogLevel.java | 16 ++++++++++++++++ .../cisd/common/parser/DefaultLineTokenizer.java | 16 ++++++++++++++++ .../cisd/common/parser/HeaderLineFilter.java | 16 ++++++++++++++++ .../ch/systemsx/cisd/common/parser/Line.java | 16 ++++++++++++++++ .../cisd/common/parser/MappedProperty.java | 16 ++++++++++++++++ .../parser/filter/AlwaysAcceptLineFilter.java | 16 ++++++++++++++++ .../filter/ExcludeEmptyAndCommentLineFilter.java | 16 ++++++++++++++++ .../cisd/common/process/ProcessResult.java | 16 ++++++++++++++++ .../cisd/common/test/EqualsHashCodeTestCase.java | 6 +++--- .../cisd/common/test/SerializabilityTest.java | 16 ++++++++++++++++ .../cisd/common/utilities/IPathHandler.java | 16 ++++++++++++++++ .../FileUtilitiesDeleteRecursivelyTest.java | 4 ++-- 13 files changed, 181 insertions(+), 5 deletions(-) diff --git a/common/source/java/ch/systemsx/cisd/common/collections/CollectionStyle.java b/common/source/java/ch/systemsx/cisd/common/collections/CollectionStyle.java index ea072da2f65..5155e4792f2 100644 --- a/common/source/java/ch/systemsx/cisd/common/collections/CollectionStyle.java +++ b/common/source/java/ch/systemsx/cisd/common/collections/CollectionStyle.java @@ -1,3 +1,19 @@ +/* + * Copyright 2008 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.collections; /** diff --git a/common/source/java/ch/systemsx/cisd/common/logging/LogLevel.java b/common/source/java/ch/systemsx/cisd/common/logging/LogLevel.java index efc86d64928..7e92733d2f8 100644 --- a/common/source/java/ch/systemsx/cisd/common/logging/LogLevel.java +++ b/common/source/java/ch/systemsx/cisd/common/logging/LogLevel.java @@ -1,3 +1,19 @@ +/* + * Copyright 2008 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.logging; /** diff --git a/common/source/java/ch/systemsx/cisd/common/parser/DefaultLineTokenizer.java b/common/source/java/ch/systemsx/cisd/common/parser/DefaultLineTokenizer.java index 669161345b8..4ceb0c5a59e 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/DefaultLineTokenizer.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/DefaultLineTokenizer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser; import java.util.EnumMap; diff --git a/common/source/java/ch/systemsx/cisd/common/parser/HeaderLineFilter.java b/common/source/java/ch/systemsx/cisd/common/parser/HeaderLineFilter.java index 6b3d0b08adf..77fdb325a74 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/HeaderLineFilter.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/HeaderLineFilter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser; import ch.systemsx.cisd.common.parser.filter.ExcludeEmptyAndCommentLineFilter; diff --git a/common/source/java/ch/systemsx/cisd/common/parser/Line.java b/common/source/java/ch/systemsx/cisd/common/parser/Line.java index 332b4086fde..8dc1066ac95 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/Line.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/Line.java @@ -1,3 +1,19 @@ +/* + * Copyright 2008 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser; /** diff --git a/common/source/java/ch/systemsx/cisd/common/parser/MappedProperty.java b/common/source/java/ch/systemsx/cisd/common/parser/MappedProperty.java index eccd5604922..e1f679dfb31 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/MappedProperty.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/MappedProperty.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser; import org.apache.commons.lang.builder.ToStringBuilder; diff --git a/common/source/java/ch/systemsx/cisd/common/parser/filter/AlwaysAcceptLineFilter.java b/common/source/java/ch/systemsx/cisd/common/parser/filter/AlwaysAcceptLineFilter.java index 7ebf9129639..6b9a72647b1 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/filter/AlwaysAcceptLineFilter.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/filter/AlwaysAcceptLineFilter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser.filter; /** diff --git a/common/source/java/ch/systemsx/cisd/common/parser/filter/ExcludeEmptyAndCommentLineFilter.java b/common/source/java/ch/systemsx/cisd/common/parser/filter/ExcludeEmptyAndCommentLineFilter.java index b0c16d27d0c..193f17aa7e5 100644 --- a/common/source/java/ch/systemsx/cisd/common/parser/filter/ExcludeEmptyAndCommentLineFilter.java +++ b/common/source/java/ch/systemsx/cisd/common/parser/filter/ExcludeEmptyAndCommentLineFilter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.parser.filter; /** diff --git a/common/source/java/ch/systemsx/cisd/common/process/ProcessResult.java b/common/source/java/ch/systemsx/cisd/common/process/ProcessResult.java index a0a72e0d231..06cf63111cc 100644 --- a/common/source/java/ch/systemsx/cisd/common/process/ProcessResult.java +++ b/common/source/java/ch/systemsx/cisd/common/process/ProcessResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.process; import java.io.File; diff --git a/common/source/java/ch/systemsx/cisd/common/test/EqualsHashCodeTestCase.java b/common/source/java/ch/systemsx/cisd/common/test/EqualsHashCodeTestCase.java index 9653b63b53a..484f96462fb 100644 --- a/common/source/java/ch/systemsx/cisd/common/test/EqualsHashCodeTestCase.java +++ b/common/source/java/ch/systemsx/cisd/common/test/EqualsHashCodeTestCase.java @@ -1,8 +1,8 @@ /* - * The JUnit-addons Software License, Version 1.0 - * (based on the Apache Software License, Version 1.1) + * Copyright 2002-2003 Vladimir R. Bossicard. All rights reserved. * - * Copyright (c) 2002-2003 Vladimir R. Bossicard. All rights reserved. + * Licensed under the JUnit-addons Software License, Version 1.0 + * (based on the Apache Software License, Version 1.1) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/common/source/java/ch/systemsx/cisd/common/test/SerializabilityTest.java b/common/source/java/ch/systemsx/cisd/common/test/SerializabilityTest.java index 5d18dbcf9e8..f0070e6db1f 100644 --- a/common/source/java/ch/systemsx/cisd/common/test/SerializabilityTest.java +++ b/common/source/java/ch/systemsx/cisd/common/test/SerializabilityTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.test; import java.io.Serializable; diff --git a/common/source/java/ch/systemsx/cisd/common/utilities/IPathHandler.java b/common/source/java/ch/systemsx/cisd/common/utilities/IPathHandler.java index c85c7d4291f..8f4722ded04 100644 --- a/common/source/java/ch/systemsx/cisd/common/utilities/IPathHandler.java +++ b/common/source/java/ch/systemsx/cisd/common/utilities/IPathHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2007 ETH Zuerich, CISD + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package ch.systemsx.cisd.common.utilities; import java.io.File; diff --git a/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesDeleteRecursivelyTest.java b/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesDeleteRecursivelyTest.java index e4c6ba54a18..d66650a69d2 100644 --- a/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesDeleteRecursivelyTest.java +++ b/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesDeleteRecursivelyTest.java @@ -1,5 +1,3 @@ -package ch.systemsx.cisd.common.utilities; - /* * Copyright 2007 ETH Zuerich, CISD * @@ -16,6 +14,8 @@ package ch.systemsx.cisd.common.utilities; * limitations under the License. */ +package ch.systemsx.cisd.common.utilities; + import static org.testng.AssertJUnit.assertEquals; import java.io.File; -- GitLab