Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pluginHashCode (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            cache.put(key, record);
    
            return record;
        }
    
        @Override
        public void flush() {
            cache.clear();
        }
    
        protected static int pluginHashCode(Plugin plugin) {
            return CacheUtils.pluginHashCode(plugin);
        }
    
        protected static boolean pluginEquals(Plugin a, Plugin b) {
            return CacheUtils.pluginEquals(a, b);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                } catch (NoSuchRealmException e) {
                    // ignore
                }
            }
            cache.clear();
        }
    
        protected static int pluginHashCode(Plugin plugin) {
            return CacheUtils.pluginHashCode(plugin);
        }
    
        protected static boolean pluginEquals(Plugin a, Plugin b) {
            return CacheUtils.pluginEquals(a, b);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

        /**
         * @deprecated Use {@link Objects#hashCode(Object)}
         */
        @Deprecated
        public static int hash(Object obj) {
            return obj != null ? obj.hashCode() : 0;
        }
    
        public static int pluginHashCode(Plugin plugin) {
            int hash = 17;
    
            hash = hash * 31 + Objects.hashCode(plugin.getGroupId());
            hash = hash * 31 + Objects.hashCode(plugin.getArtifactId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top