lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NightOwl888 <...@git.apache.org>
Subject [GitHub] lucenenet pull request #190: Ported Analysis.Stempel
Date Wed, 05 Oct 2016 17:39:58 GMT
Github user NightOwl888 commented on a diff in the pull request:

    https://github.com/apache/lucenenet/pull/190#discussion_r82028685
  
    --- Diff: src/Lucene.Net.Core/Support/DataInputStream.cs ---
    @@ -0,0 +1,323 @@
    +´╗┐using System;
    +using System.IO;
    +
    +namespace Lucene.Net.Support
    +{
    +    /// <summary>
    +    /// Java's DataInputStream is similar to .NET's BinaryReader. However, it reads
    +    /// using a modified UTF-8 format that cannot be read using BinaryReader.
    +    /// This is a port of DataInputStream that is fully compatible with Java's DataOutputStream.
    +    /// </summary>
    +    public class DataInputStream : IDataInput, IDisposable
    --- End diff --
    
    I added all of the tests I could find from Java for these 2 classes. Do note that the
ReadDouble() method is not implemented because we don't have `Number.LongBitsToDouble()` implemented.
Neither are currently required by Lucene.Net


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message