From cf623fd25b942c4f79d2c156e4cbcb622f061f46 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 8 Jan 2021 15:55:09 -0500 Subject: Rename global metadata to local metadata. (#1231) Fixes #828 --- cpp/src/Slice/JavaUtil.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/Slice/JavaUtil.cpp') diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index 78dd64f2080..51b2a512181 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -139,7 +139,7 @@ public: static const string prefix = "java:"; // - // Validate global metadata in the top-level file and all included files. + // Validate file metadata in the top-level file and all included files. // StringList files = p->allFiles(); @@ -166,7 +166,7 @@ public: } else { - dc->warning(InvalidMetaData, file, "", "ignoring invalid global metadata `" + s + "'"); + dc->warning(InvalidMetaData, file, "", "ignoring invalid file metadata `" + s + "'"); globalMetaData.remove(s); continue; } @@ -953,7 +953,7 @@ Slice::JavaCompatGenerator::getPackagePrefix(const ContainedPtr& cont) const assert(m); // - // The java:package metadata can be defined as global metadata or applied to a top-level module. + // The java:package metadata can be defined as file metadata or applied to a top-level module. // We check for the metadata at the top-level module first and then fall back to the global scope. // static const string prefix = "java:package:"; @@ -3433,7 +3433,7 @@ Slice::JavaGenerator::getPackagePrefix(const ContainedPtr& cont) const assert(m); // - // The java:package metadata can be defined as global metadata or applied to a top-level module. + // The java:package metadata can be defined as file metadata or applied to a top-level module. // We check for the metadata at the top-level module first and then fall back to the global scope. // static const string prefix = "java:package:"; -- cgit v1.2.3