ProIT
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
qaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 year ago

getStorageList()

lemmy.world

external-link
message-square
15
link
fedilink
236
external-link

getStorageList()

lemmy.world

qaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 year ago
message-square
15
link
fedilink
alert-triangle
You must log in or register to comment.
  • mbtrhcs@feddit.org
    link
    fedilink
    arrow-up
    78
    ·
    1 year ago

    No usages

    • FellowHuman@lemmy.world
      link
      fedilink
      arrow-up
      40
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        15
        ·
        edit-2
        1 year ago

        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.worldOP
          link
          fedilink
          English
          arrow-up
          14
          ·
          1 year ago

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

    • cheddar@programming.dev
      link
      fedilink
      arrow-up
      30
      ·
      1 year ago

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

      • qaz@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        30
        ·
        edit-2
        1 year ago

        I already did so an hour ago

        UPDATE: It has been merged

        • AdNecrias@lemmy.pt
          link
          fedilink
          arrow-up
          31
          ·
          1 year ago

          https://xkcd.com/1172

          You know it’s comming.

        • cheddar@programming.dev
          link
          fedilink
          arrow-up
          13
          ·
          1 year ago

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

  • Endmaker@ani.social
    link
    fedilink
    English
    arrow-up
    35
    ·
    1 year ago

    Any context?

    • qaz@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      59
      ·
      1 year ago

      Found it while refactoring KDE Connect Android.

      • beepnoise@piefed.social
        link
        fedilink
        arrow-up
        41
        ·
        1 year ago

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

        • Traister101@lemmy.today
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          Wow, that looks like a nightmare

        • Lucy :3@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          It has a typo

          Me about to make my first contribution to KDEConnect Ü

  • hades@lemm.ee
    link
    fedilink
    arrow-up
    21
    ·
    1 year ago

    Ah yes, that’s Android for ya.

  • pfm@scribe.disroot.org
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    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 a post
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: [email protected]

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
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.07K users / day
  • 4.73K users / week
  • 8.62K users / month
  • 20.1K users / 6 months
  • 1 local subscriber
  • 25.6K subscribers
  • 1.64K Posts
  • 61.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org