Git Product home page Git Product logo

Comments (5)

svanteschubert avatar svanteschubert commented on July 29, 2024

Someone reported already our problem:
google/google-java-format#413

odfdom\src\main\java\org\odftoolkit\odfdom\pkg\OdfManifestSaxHandler.java
is always the last class being processed before memory exception.

from odftoolkit.

svanteschubert avatar svanteschubert commented on July 29, 2024

The class OdfManifestSaxHandler.java was all a single comment.
I removed it for 0.9.0 and the format finishes successfully.
Committed all formatted source files for review purpose on the branch.

Would this suit you?

from odftoolkit.

sebkur avatar sebkur commented on July 29, 2024

Having a formatting standard for the project sound like a very good idea to me!

Going with the Google Java Style Guide and its tools seems to be a sound choice. There are formatter plugins for all major IDEs (Eclipse and IntelliJ) and also for all major build systems (Maven, Gradle).

from odftoolkit.

sebkur avatar sebkur commented on July 29, 2024

It's a bit of a pity to apply a reformatting an such a big codebase, but since there has not been any formatting standard in place up to now, I don't really see a way forward without such an action if we want to introduce this at some point. Doing it has the advantage that in the future history and comparison between branches will be a lot easier and cleaner. But it also has the disadvantage of introducing a lot of noise in the history with this one big commit with lots and lots of changes. Still in favor of using a formatting standard and applying it though.

from odftoolkit.

svanteschubert avatar svanteschubert commented on July 29, 2024

I fully agree, Sebastian.
As there is a big noise when we "copy over" the fork being done 8 years ago over the 0.9.0 branch, we might even be able to reduce this noise by normalization. Solely the quite last 0.9.0 commit will be very noisy. The copy from 1.0.0 will be with less noise and in the future, we should no longer have this problem.
Okay, I will enable the code normalization and releasing 0.9.0.

from odftoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.