Skip to content

Releases: SpartanRefactoring/Main

Version 2.13.5

27 Aug 15:56
Compare
Choose a tag to compare
Version 2.13.5 Pre-release
Pre-release

A few issues closed. Drop the jar file in dropins directory and run eclipse -clean to install.

Version 2.13.4

03 Jul 11:14
Compare
Choose a tag to compare

Bug fixes from the Final test of the Athenizer Yearly Project

Athenizer 2.13.1

02 Jul 00:10
Compare
Choose a tag to compare

Final release for Yearly Project 2017

SpartanizerJ1.2

01 Jul 21:37
Compare
Choose a tag to compare

Final release for Yearly Project 2017

Version 2.13.0

30 Jun 21:21
Compare
Choose a tag to compare
Merge branch 'mazter' of github.com:SpartanRefactoring/Main into mazter

SpartanizeJ L1.0

04 Jun 13:01
Compare
Choose a tag to compare
SpartanizeJ L1.0 Pre-release
Pre-release

New Release!!!!

Advanced Leonidas-based tips:

  • Remove curly braces from if statement:

        if (x > 0) { y++; } => if (x>0) y++;
  • Remove curly braces from while statement:

        while (!s.isEmpty()) { write(s.pop());} => while (!s.isEmpty()) write(s.pop());
  • Remove double negation:

     if(!(!(x > 9))) { ... } => if (x > 9) { ... }
  • Fluent Setter :

    class X { private int y; public void setY(int y) { this.y = y; }} =>  class X { private int y; public X setY(int y) { this.y = y; return this; }} 
  • Advance by one :

     x += 1; => x++;
  • Reorder Literal Equals :

    String s = ... ; s.equals("$$$") => "$$$".equals(s);
  • Collapse an if clause with throws :

     if (x > 0) throw e1; throw e2; => throw x > 0 ?  e1 : e2;

Advanced GUI :

  • Enabling / Disabling of Spartanization
  • Spartanization of an entire file
  • Playground : try and spartanize you code!
  • Modify enabled tips.

Version 2.10.1

29 Mar 13:55
Compare
Choose a tag to compare
Version 2.10.1 Pre-release
Pre-release

Pre-release of version 2.10.1 .

Spartan Desktop Application

03 Mar 14:32
Compare
Choose a tag to compare
Pre-release

Eclipse independent desktop application (currently for Windows OS only).

Instruction: download spartan.zip and extract it into some folder.

Usage: spartan.exe [-consoleLog] {files to spartanize}

Help: spartan.exe -consoleLog

2.8 pre-release: Athenizer+Spartanizer

23 Jan 18:43
Compare
Choose a tag to compare
Pre-release

In this release we:

  • Added more expanders (and changed their name to bloaters)
  • Fixed buggy tippers
  • Most importantly - added some useful expanders that use namespace (such as the ultimate expanding method calls bloater).
  • Added useful menu buttons that can spartanize and athenize the whole project with a click of a button.
  • Added a nicer GUI using colors highlighting when zooming in or out with the mouse scroller
  • Added a test system for binding and renaming

Athenizer

26 Dec 20:40
Compare
Choose a tag to compare
Athenizer Pre-release
Pre-release

In addition to the Spartanizer, in this release we also have a working version of the athenizer.
To start the athenizer, just press ctrl+alt+D.
Then - when you want to spartanize your code, press ctrl while scrolling down with your mouse.
When you want to Athenize your code (expand it) - press ctrl while scrolling up with your mouse