aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Wharton <jw@squareup.com>2013-01-31 14:02:50 -0800
committerJake Wharton <jw@squareup.com>2013-01-31 14:03:05 -0800
commitc5b6b36b2e98b59f0711c1bfc8486c32eb3b482a (patch)
treef60abf7f1b8cacfbad440326886118236560d87b
parent316a6ceac7a0e07d0ac4093230a2389d6873f284 (diff)
downloadjavapoet-c5b6b36b2e98b59f0711c1bfc8486c32eb3b482a.tar.gz
License tweaks.
-rw-r--r--README.md20
-rw-r--r--src/main/java/com/squareup/java/JavaWriter.java16
-rw-r--r--src/test/java/com/example/Binding.java1
-rw-r--r--src/test/java/com/squareup/java/JavaWriterTest.java16
4 files changed, 22 insertions, 31 deletions
diff --git a/README.md b/README.md
index 0bb30e6..b38d739 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,22 @@
JavaWriter
==========
-TODO \ No newline at end of file
+TODO
+
+
+License
+-------
+
+ Copyright 2013 Square, Inc.
+
+ 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.
diff --git a/src/main/java/com/squareup/java/JavaWriter.java b/src/main/java/com/squareup/java/JavaWriter.java
index de46f16..14588d1 100644
--- a/src/main/java/com/squareup/java/JavaWriter.java
+++ b/src/main/java/com/squareup/java/JavaWriter.java
@@ -1,18 +1,4 @@
-/**
- * Copyright (C) 2012 Square, Inc.
- *
- * 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.
- */
+// Copyright 2013 Square, Inc.
package com.squareup.java;
import java.io.Closeable;
diff --git a/src/test/java/com/example/Binding.java b/src/test/java/com/example/Binding.java
index 9aa0bc8..678c0c4 100644
--- a/src/test/java/com/example/Binding.java
+++ b/src/test/java/com/example/Binding.java
@@ -1,3 +1,4 @@
+// Copyright 2013 Square, Inc.
package com.example;
public class Binding<T> {
diff --git a/src/test/java/com/squareup/java/JavaWriterTest.java b/src/test/java/com/squareup/java/JavaWriterTest.java
index bb5e204..306cb36 100644
--- a/src/test/java/com/squareup/java/JavaWriterTest.java
+++ b/src/test/java/com/squareup/java/JavaWriterTest.java
@@ -1,18 +1,4 @@
-/**
- * Copyright (C) 2012 Square, Inc.
- *
- * 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.
- */
+// Copyright 2013 Square, Inc.
package com.squareup.java;
import com.example.Binding;