From 08b1dfdafaa42df80bc2708ee1aac25593db867a Mon Sep 17 00:00:00 2001 From: zhangzhuwei Date: Tue, 31 Dec 2024 00:11:34 +0800 Subject: [PATCH] chat --- chat.txt | 1 + .../Notes-master/src/net/micode/notes/tool/DataUtils.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 chat.txt diff --git a/chat.txt b/chat.txt new file mode 100644 index 0000000..84d94d1 --- /dev/null +++ b/chat.txt @@ -0,0 +1 @@ +testify \ No newline at end of file diff --git a/src/Notes-master/Notes-master/src/net/micode/notes/tool/DataUtils.java b/src/Notes-master/Notes-master/src/net/micode/notes/tool/DataUtils.java index 2a14982..6e8ad89 100644 --- a/src/Notes-master/Notes-master/src/net/micode/notes/tool/DataUtils.java +++ b/src/Notes-master/Notes-master/src/net/micode/notes/tool/DataUtils.java @@ -7,6 +7,7 @@ * * http://www.apache.org/licenses/LICENSE-2.0 * + * here is a note * 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. @@ -281,7 +282,7 @@ public class DataUtils { } throw new IllegalArgumentException("Note is not found with id: " + noteId); } - + public static String getFormattedSnippet(String snippet) { if (snippet != null) { snippet = snippet.trim();