`getStorageList()`

233 points · 14 comments · view on lemmy.world

14 Comments

mbtrhcs@feddit.org · 74 pts · 2y (7 replies)

No usages

FellowHuman@lemmy.world · 37 pts · 2y (2 replies)

Well its public so who knows in what other package is using it. And it's static, so who know what kind if monster is calling it from some inapropriate place. I have seen static methods being called from translation/localization files, because "it works".

mbtrhcs@feddit.org · 15 pts · 2y (1 reply)

IntelliJ finds most uses in my experience unless you're doing something weird with reflection or similar. And if it's a public facing API only used by the library's consumers..– it should be used in tests at the very least! Especially if it's prone to regressions like the comment suggests

qaz@lemmy.world · 13 pts · 2y

There are only 7 unit test classes. 2 of which I wrote myself this month.

cheddar@programming.dev · 29 pts · 2y (3 replies)

Somebody should tell Albert and the others, they can let this method go.

qaz@lemmy.world · 29 pts · 2y (2 replies)

I already did so an hour ago

UPDATE: It has been merged

AdNecrias@lemmy.pt · 32 pts · 2y

https://xkcd.com/1172

You know it's comming.

cheddar@programming.dev · 12 pts · 2y

Alright, this is my first contribution to an open-source project, albeit indirect. I'll drink to that!

Endmaker@ani.social · 34 pts · 2y (4 replies)

Any context?

qaz@lemmy.world · 57 pts · 2y (3 replies)

Found it while refactoring KDE Connect Android.

beepnoise@piefed.social · 39 pts · 2y (2 replies)
Traister101@lemmy.today · 5 pts · 2y

Wow, that looks like a nightmare

30p87@feddit.org · 3 pts · 2y

It has a typo

Me about to make my first contribution to KDEConnect Ü

hades@lemm.ee · 20 pts · 2y
[ removed ]
pfm@scribe.disroot.org · 6 pts · 2y

I keep telling myself that in the ideal world, phones would be programmed in Forth.