Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reorganizing imports

    • -1
    • +5
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 196 more files in changeset.
Finally switching the file lock to java.nio

    • -22
    • +18
    ./DefaultFileLockManagerTest.java
    • -8
    • +5
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 5 more files in changeset.
Utilize parameterized logging and remove toString() calls

As suggested in the SLF4J FAQ:

https://www.slf4j.org/faq.html#logging_performance

.. parameterized logging can improve the efficiency of logger calls when

logging at the specified level is disabled.

In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException

since SLF4J 1.6.0 it is possible to use parameterized logging and also

log an exception/throwable.

toString() is called automatically:

https://www.slf4j.org/faq.html#string_contents

These changes were suggested by SLF4J Helper for NetBeans IDE:

http://plugins.netbeans.org/plugin/72557/

    • -10
    • +10
    ./DefaultFileLockManagerTest.java
    • -2
    • +2
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 21 more files in changeset.
[MRM-1945] Fixing race condition

Do not return used locks anymore. If the lock map contains

an entry already, the retry loop continues.

  1. … 1 more file in changeset.
Fixing locking tests on windows

    • -1
    • +8
    ./DefaultFileLockManagerTimeoutTest.java
Adding additional information for failing tests

    • -6
    • +13
    ./DefaultFileLockManagerTimeoutTest.java
Add additional checks for file lock tests

    • -163
    • +186
    ./DefaultFileLockManagerTest.java
Add additional checks for file lock tests

    • -163
    • +186
    ./DefaultFileLockManagerTest.java
Additional improvement for file locks

  1. … 1 more file in changeset.
Additional improvement for file locks

  1. … 1 more file in changeset.
Stabilised file lock implementation and tests

    • -14
    • +26
    ./DefaultFileLockManagerTest.java
  1. … 2 more files in changeset.
Stabilised file lock implementation and tests

    • -14
    • +26
    ./DefaultFileLockManagerTest.java
  1. … 2 more files in changeset.
do the same as FileUtils.copyFile do

    • -10
    • +15
    ./DefaultFileLockManagerTest.java
  1. … 2 more files in changeset.
use Files.copy from java.nio.file

    • -17
    • +17
    ./DefaultFileLockManagerTest.java
    • -11
    • +6
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 11 more files in changeset.
use a concurrent map to handle file lock

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550641 13f79535-47bb-0310-9956-ffa450edef68

    • -5
    • +12
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 3 more files in changeset.
[MRM-1702] use the fileLockLManager in the code with possible race condition

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550636 13f79535-47bb-0310-9956-ffa450edef68

  1. … 10 more files in changeset.
fix timeout

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +77
    ./DefaultFileLockManagerTimeoutTest.java
  1. … 2 more files in changeset.
throw a timeout exception if not possible to get the lock after the timeout

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550560 13f79535-47bb-0310-9956-ffa450edef68

    • -10
    • +10
    ./DefaultFileLockManagerTest.java
  1. … 2 more files in changeset.
license header

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68

  1. … 4 more files in changeset.
fix typo

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550557 13f79535-47bb-0310-9956-ffa450edef68

cleanup this file locking library

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550556 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
add a new module for file locking

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550396 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +208
    ./DefaultFileLockManagerTest.java
  1. … 13 more files in changeset.