aboutsummaryrefslogtreecommitdiff
path: root/juick-server-web/src/main/java/com/juick/server/util
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-07-20 13:15:46 +0300
committerGravatar Vitaly Takmazov2017-07-20 13:15:47 +0300
commit664bc928c2ec6b1afb23636ddfc17424973d7dab (patch)
treea61c5ce18b7db80a3e89ce817afcfb1cc1e0f300 /juick-server-web/src/main/java/com/juick/server/util
parentc742da63993d4b15b3968698273ef4f6c449ff13 (diff)
Update copyrights in all java sources
Diffstat (limited to 'juick-server-web/src/main/java/com/juick/server/util')
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/HttpBadRequestException.java17
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/HttpForbiddenException.java17
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java17
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/HttpUtils.java3
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/ImageUtils.java17
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/UserUtils.java17
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/WebUtils.java17
7 files changed, 103 insertions, 2 deletions
diff --git a/juick-server-web/src/main/java/com/juick/server/util/HttpBadRequestException.java b/juick-server-web/src/main/java/com/juick/server/util/HttpBadRequestException.java
index 1ba1aecb..1c3b4e66 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/HttpBadRequestException.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/HttpBadRequestException.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import org.apache.commons.lang3.StringUtils;
diff --git a/juick-server-web/src/main/java/com/juick/server/util/HttpForbiddenException.java b/juick-server-web/src/main/java/com/juick/server/util/HttpForbiddenException.java
index 733453ba..3251ca38 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/HttpForbiddenException.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/HttpForbiddenException.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import org.apache.commons.lang3.StringUtils;
diff --git a/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java b/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
index 942d90e2..f66ece8b 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import org.apache.commons.lang3.StringUtils;
diff --git a/juick-server-web/src/main/java/com/juick/server/util/HttpUtils.java b/juick-server-web/src/main/java/com/juick/server/util/HttpUtils.java
index 31a68962..bf08f31e 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/HttpUtils.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/HttpUtils.java
@@ -1,6 +1,5 @@
/*
- * Juick
- * Copyright (C) 2008-2011, Ugnich Anton
+ * Copyright (C) 2008-2017, Juick
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
diff --git a/juick-server-web/src/main/java/com/juick/server/util/ImageUtils.java b/juick-server-web/src/main/java/com/juick/server/util/ImageUtils.java
index 00fe21ef..25345439 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/ImageUtils.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/ImageUtils.java
@@ -1,4 +1,21 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import org.apache.commons.io.FilenameUtils;
diff --git a/juick-server-web/src/main/java/com/juick/server/util/UserUtils.java b/juick-server-web/src/main/java/com/juick/server/util/UserUtils.java
index eb86370e..e6dc5fa2 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/UserUtils.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/UserUtils.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import com.juick.User;
diff --git a/juick-server-web/src/main/java/com/juick/server/util/WebUtils.java b/juick-server-web/src/main/java/com/juick/server/util/WebUtils.java
index 7f50c89c..9dd628ee 100644
--- a/juick-server-web/src/main/java/com/juick/server/util/WebUtils.java
+++ b/juick-server-web/src/main/java/com/juick/server/util/WebUtils.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008-2017, Juick
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.juick.server.util;
import java.util.regex.Pattern;