Skip to content

Conversation

@thiemowmde
Copy link
Contributor

@thiemowmde thiemowmde commented Jul 20, 2017

I'm trying to minimize the unused code in this repository for years. Today I finally found a string I can pull without the whole thing breaking apart: Just do a fultext search for "getSortKey" and you will see it is not used anywhere.

This will allow us to remove much, much more unused code. I'm focusing on two very small methods here and plan to continue removing more unused code in later patches.

  • The iso6709 method on the class is unused now. Note there is an other static helper function with the same name and a parameter. That is still used.
  • _getTimestamp is private anyway. The parameter is unused now.

After this is merged and released, the following patches also must be merged:

Bug: T172916

@Ladsgroup
Copy link
Contributor

Now it has conflicts :/ I also would like some time for more eyes on this as it's a little bit big (but looks trivial)

@thiemowmde thiemowmde force-pushed the deadSortKeys branch 2 times, most recently from 339b8d3 to b2eab29 Compare July 20, 2017 19:41
@thiemowmde thiemowmde added this to the 0.9.0 milestone Aug 10, 2017
I'm trying to minimize the unused code in this repository for years.
Today I finally found a string I can pull without the whole thing
breaking apart: Just do a fultext search for "getSortKey" and you will
see it is not used anywhere.

This will allow us to remove much, much more unused code. I'm focusing
on two very small methods here and plan to continue removing more
unused code in later patches.

* The iso6709 method on the class is unused now. Note there is an other
  static helper function with the same name and a parameter. That is
  still used.
* _getTimestamp is private anyway. The parameter is unused now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants