You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2016/08/23 23:17:55 UTC
[02/50] [abbrv] lucenenet git commit: Added missing overloads on the
Core.Analysis.Tokenattributes.ICharTermAttribute to append ICharSequence.
Added missing overloads on the Core.Analysis.Tokenattributes.ICharTermAttribute to append ICharSequence.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/d9fb43ef
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/d9fb43ef
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/d9fb43ef
Branch: refs/heads/analysis-work
Commit: d9fb43ef55334783886d5b7a15c618db02e37d96
Parents: 572ad69
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sat Aug 20 10:37:26 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sat Aug 20 11:34:08 2016 +0700
----------------------------------------------------------------------
.../Tokenattributes/ICharTermAttribute.cs | 38 +++++++++++---------
1 file changed, 21 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/d9fb43ef/src/Lucene.Net.Core/Analysis/Tokenattributes/ICharTermAttribute.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Analysis/Tokenattributes/ICharTermAttribute.cs b/src/Lucene.Net.Core/Analysis/Tokenattributes/ICharTermAttribute.cs
index 50fd215..bca2d65 100644
--- a/src/Lucene.Net.Core/Analysis/Tokenattributes/ICharTermAttribute.cs
+++ b/src/Lucene.Net.Core/Analysis/Tokenattributes/ICharTermAttribute.cs
@@ -1,26 +1,26 @@
+using Lucene.Net.Support;
+using Lucene.Net.Util;
using System;
using System.Text;
namespace Lucene.Net.Analysis.Tokenattributes
{
- using Lucene.Net.Util;
-
/*
- * 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.
- */
+ * 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.
+ */
/// <summary>
/// The term text of a Token.
@@ -75,6 +75,10 @@ namespace Lucene.Net.Analysis.Tokenattributes
ICharTermAttribute SetEmpty();
// the following methods are redefined to get rid of IOException declaration:
+ ICharTermAttribute Append(ICharSequence csq);
+
+ ICharTermAttribute Append(ICharSequence csq, int start, int end);
+
ICharTermAttribute Append(string csq, int start, int end);
ICharTermAttribute Append(char c);