kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyqaz@lemmy.world
2 years

getStorageList()

lemmy.world English
15
    You must log in or register to comment.

    • mbtrhcs@feddit.org
      2 years

      No usages

        • FellowHuman@lemmy.world
          2 years

          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
              2 years

              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.worldEnglish
                  2 years

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

              • cheddar@programming.dev
                2 years

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

                  • qaz@lemmy.worldEnglish
                    2 years

                    I already did so an hour ago

                    UPDATE: It has been merged

                      • AdNecrias@lemmy.pt
                        2 years

                        https://xkcd.com/1172

                        You know it’s comming.

                        • cheddar@programming.dev
                          2 years

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

                    • Endmaker@ani.socialEnglish
                      2 years

                      Any context?

                        • qaz@lemmy.worldEnglish
                          2 years

                          Found it while refactoring KDE Connect Android.

                            • beepnoise@piefed.social
                              2 years

                              Found the masterpiece: https://github.com/KDE/kdeconnect-android/blob/d41ed4d911959beef923d0d9a9c74072f0dd920a/src/org/kde/kdeconnect/Helpers/StorageHelper.java#L56

                                • Traister101@lemmy.today
                                  2 years

                                  Wow, that looks like a nightmare

                                  • Lucy :3@feddit.org
                                    2 years

                                    It has a typo

                                    Me about to make my first contribution to KDEConnect Ü

                              • hades@lemm.ee
                                2 years

                                Ah yes, that’s Android for ya.

                                • pfm@scribe.disroot.org
                                  2 years

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

                                  Programmer Humor@programming.dev

                                  programmer_humor@programming.dev

                                  Subscribe from remote instance

                                  Create post

                                  Report community

                                  Modlog
                                  You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

                                  Welcome to Programmer Humor!

                                  This is a place where you can post jokes, memes, humor, etc. related to programming!

                                  For sharing awful code theres also Programming Horror.

                                  Rules

                                  • Keep content in english
                                  • No advertisements
                                  • Posts must be related to programming or programmer topics
                                  Visibility: Public

                                  This community is visible to everyone.

                                  • 184 users / Day
                                  • 262 users / Week
                                  • 276 users / Month
                                  • 14.5K users / 6 months
                                  • 2.33K posts
                                  • 89.8K comments
                                  • 2 local subscribers
                                  • 31.9K subscribers
                                  • UI: 1.0.0-beta.0
                                  • BE: 1.0.0-alpha.20
                                  • Modlog
                                  • Instances
                                  • Docs
                                  • Code
                                  • join-lemmy.org