Return-Path: X-Original-To: apmail-abdera-commits-archive@www.apache.org Delivered-To: apmail-abdera-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 061927C8F for ; Fri, 11 Nov 2011 18:20:22 +0000 (UTC) Received: (qmail 55142 invoked by uid 500); 11 Nov 2011 18:20:22 -0000 Delivered-To: apmail-abdera-commits-archive@abdera.apache.org Received: (qmail 55105 invoked by uid 500); 11 Nov 2011 18:20:21 -0000 Mailing-List: contact commits-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@abdera.apache.org Delivered-To: mailing list commits@abdera.apache.org Received: (qmail 55098 invoked by uid 99); 11 Nov 2011 18:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 18:20:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 18:20:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1E12F23889D7 for ; Fri, 11 Nov 2011 18:19:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1201010 [2/2] - in /abdera/abdera2: .settings/ activities/src/main/java/org/apache/abdera2/activities/client/ activities/src/main/java/org/apache/abdera2/activities/extra/ activities/src/main/java/org/apache/abdera2/activities/io/gson/ act... Date: Fri, 11 Nov 2011 18:19:54 -0000 To: commits@abdera.apache.org From: jmsnell@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111111181958.1E12F23889D7@eris.apache.org> Modified: abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/Client.java URL: http://svn.apache.org/viewvc/abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/Client.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/Client.java (original) +++ abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/Client.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.protocol.client; import java.net.URISyntaxException; Modified: abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientResponseWrapper.java URL: http://svn.apache.org/viewvc/abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientResponseWrapper.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientResponseWrapper.java (original) +++ abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientResponseWrapper.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.protocol.client; import java.io.IOException; Modified: abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientWrapper.java URL: http://svn.apache.org/viewvc/abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientWrapper.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientWrapper.java (original) +++ abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/ClientWrapper.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.protocol.client; import java.net.URISyntaxException; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Context.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Context.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Context.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Context.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.anno; import static java.lang.annotation.ElementType.TYPE; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Param.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Param.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Param.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/anno/Param.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.anno; import static java.lang.annotation.ElementType.TYPE; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/date/DateTimes.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/date/DateTimes.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/date/DateTimes.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/date/DateTimes.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.date; import java.util.Calendar; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/Preference.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/Preference.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/Preference.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/Preference.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.http; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/WebLink.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/WebLink.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/WebLink.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/http/WebLink.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.http; import java.io.Serializable; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparison.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparison.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparison.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparison.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; /** Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparisons.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparisons.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparisons.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Comparisons.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import org.apache.abdera2.common.text.CharUtils; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/ExceptionHelper.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/ExceptionHelper.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/ExceptionHelper.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/ExceptionHelper.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import org.apache.abdera2.common.http.ResponseType; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Initializable.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Initializable.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Initializable.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Initializable.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import java.util.Map; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MapRed.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MapRed.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MapRed.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MapRed.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import java.util.ArrayList; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MoreFunctions.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MoreFunctions.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MoreFunctions.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MoreFunctions.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import java.lang.reflect.Constructor; @@ -23,7 +40,9 @@ import com.google.common.collect.Immutab import com.google.common.collect.Iterables; import com.google.common.util.concurrent.ListenableFutureTask; -public class MoreFunctions { +public final class MoreFunctions { + + private MoreFunctions() {} public static Function alwaysNull() { return new Function() { @@ -384,9 +403,9 @@ public class MoreFunctions { } public static class ChoiceGenerator implements Supplier> { - private final Set> options = + final Set> options = new LinkedHashSet>(); - private Supplier otherwise; + Supplier otherwise; public ChoiceGenerator of(Choice.Option option) { this.options.add(option); return this; @@ -409,13 +428,13 @@ public class MoreFunctions { } } - private static class Choice implements Function { + static class Choice implements Function { public static interface Option extends Predicate, Supplier {} private final Set> options = new LinkedHashSet>(); private final Supplier otherwise; - private Choice(Set> options, Supplier otherwise) { + Choice(Set> options, Supplier otherwise) { this.options.addAll(options); this.otherwise = otherwise; } Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePreconditions.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePreconditions.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePreconditions.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePreconditions.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; public final class MorePreconditions { Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePredicates.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePredicates.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePredicates.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/MorePredicates.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import java.util.Arrays; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Pair.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Pair.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Pair.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/misc/Pair.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.misc; import java.util.Iterator; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/Pushers.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/Pushers.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/Pushers.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/Pushers.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.pusher; import java.util.concurrent.Future; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/SimpleListener.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/SimpleListener.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/SimpleListener.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/pusher/SimpleListener.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.pusher; public abstract class SimpleListener Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/ApiKey.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/ApiKey.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/ApiKey.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/ApiKey.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.security; import java.security.Key; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/HashHelper.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/HashHelper.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/HashHelper.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/HashHelper.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.security; import java.io.InputStream; @@ -221,7 +238,7 @@ public final class HashHelper { } } - private static abstract class IOHasherFunction + static abstract class IOHasherFunction implements Function { protected abstract Hasher hasher(); public String apply(InputStream input) { Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/KeyBase.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/KeyBase.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/KeyBase.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/KeyBase.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.security; import java.security.Key; import java.security.SecureRandom; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/Otp.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/Otp.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/Otp.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/security/Otp.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.security; import java.security.Key; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/AbstractSelector.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/AbstractSelector.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/AbstractSelector.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/AbstractSelector.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.selector; import com.google.common.base.Function; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/PropertySelector.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/PropertySelector.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/PropertySelector.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/PropertySelector.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.selector; import java.lang.reflect.Method; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/Selectors.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/Selectors.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/Selectors.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/selector/Selectors.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.selector; import java.util.concurrent.atomic.AtomicInteger; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/templates/AnnotationContext.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/templates/AnnotationContext.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/templates/AnnotationContext.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/templates/AnnotationContext.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.templates; import org.apache.abdera2.common.anno.Param; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatcher.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatcher.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatcher.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatcher.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.text; import java.util.Arrays; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatchers.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatchers.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatchers.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/CodepointMatchers.java Fri Nov 11 18:19:51 2011 @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. The ASF licenses this file to You + * 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. For additional information regarding + * copyright in this work, please see the NOTICE file in the top level + * directory of this distribution. + */ package org.apache.abdera2.common.text; import static org.apache.abdera2.common.text.CodepointMatcher.*; Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/Slug.java URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/Slug.java?rev=1201010&r1=1201009&r2=1201010&view=diff ============================================================================== --- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/Slug.java (original) +++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/text/Slug.java Fri Nov 11 18:19:51 2011 @@ -22,7 +22,7 @@ import org.apache.abdera2.common.text.Ch import com.google.common.base.Function; -public class Slug { +public final class Slug { public static final String SANITIZE_PATTERN = "[^A-Za-z0-9\\%!$&\\\\'()*+,;=_]+";