From 902c6d155889331e81b60d4f689a79cf13c15fb1 Mon Sep 17 00:00:00 2001 From: lvxianguo Date: Thu, 6 Sep 2018 16:51:59 +0800 Subject: [PATCH] [Trivial Fix] change the unicode of some higher numbered characters Change-Id: Ib83fdbe69140ce16c34ced10b3472b0120a9870e --- README.rst | 4 ++-- .../api/infrastructure/persistence/hibernate/BaseSqlRepo.java | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 77cf7d2ee..1c2e4ee50 100644 --- a/README.rst +++ b/README.rst @@ -120,7 +120,7 @@ License Copyright (c) 2014 Hewlett-Packard Development Company, L.P. -Licensed under the Apache License, Version 2.0 (the “License”); you may +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 @@ -129,7 +129,7 @@ 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, +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/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java b/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java index 62822f345..473d6d0e9 100644 --- a/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java +++ b/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java @@ -48,7 +48,7 @@ abstract class BaseSqlRepo { try { tx.rollback(); } catch (RuntimeException rbe) { - LOG.error(ORM_LOG_MARKER, "Couldn’t roll back transaction", rbe); + LOG.error(ORM_LOG_MARKER, "Couldn't roll back transaction", rbe); } } } diff --git a/tox.ini b/tox.ini index 29f5fc120..3d5f04628 100644 --- a/tox.ini +++ b/tox.ini @@ -151,7 +151,7 @@ commands = bindep test # H302 import only modules # H405 multi line docstring summary not separated with an empty line ignore = F821,H201,H302,H405 -# H106: Don’t put vim configuration in source files +# H106: Don't put vim configuration in source files # H203: Use assertIs(Not)None to check for None # H204: Use assert(Not)Equal to check for equality. # H205: Use assert(Greater|Less)(Equal) for comparison.