From 08c6d3d7849d215c21be2a38aa70f1c751946708 Mon Sep 17 00:00:00 2001 From: leizhiyuan Date: Mon, 16 Jul 2018 13:26:06 +0800 Subject: [PATCH 1/2] feat: update hessian version 3.3.2 --- pom.xml | 2 +- src/main/java/com/alipay/hessian/Version332.java | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/alipay/hessian/Version332.java diff --git a/pom.xml b/pom.xml index e65ce07..cbb4491 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.alipay.sofa hessian - 3.3.1 + 3.3.2 jar ${project.groupId}:${project.artifactId} diff --git a/src/main/java/com/alipay/hessian/Version332.java b/src/main/java/com/alipay/hessian/Version332.java new file mode 100644 index 0000000..d58a4eb --- /dev/null +++ b/src/main/java/com/alipay/hessian/Version332.java @@ -0,0 +1,14 @@ +/** + * Alipay.com Inc. + * Copyright (c) 2004-2018 All Rights Reserved. + */ +package com.alipay.hessian; + +/** + * only for security hack scan. do not delete it + * every publish you need to change class name + * @author bystander + * @version $Id: Version326.java, v 0.1 2018年07月06日 5:21 PM bystander Exp $ + */ +public class Version332 { +} \ No newline at end of file From 35aea2332ed003c87da12690d483a2f977a3ce09 Mon Sep 17 00:00:00 2001 From: leizhiyuan Date: Mon, 16 Jul 2018 16:42:33 +0800 Subject: [PATCH 2/2] fix: change file license in header --- .../java/com/alipay/hessian/Version332.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/alipay/hessian/Version332.java b/src/main/java/com/alipay/hessian/Version332.java index d58a4eb..f60d233 100644 --- a/src/main/java/com/alipay/hessian/Version332.java +++ b/src/main/java/com/alipay/hessian/Version332.java @@ -1,6 +1,18 @@ -/** - * Alipay.com Inc. - * Copyright (c) 2004-2018 All Rights Reserved. +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * 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. */ package com.alipay.hessian;