Skip to content
Snippets Groups Projects
Commit ba6c5a06 authored by kaloyane's avatar kaloyane
Browse files

minor: typo fixed

SVN: 21049
parent 352240e3
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO; ...@@ -24,7 +24,7 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO;
/** /**
* A share finder which first searches for the extension share with most free space which matches * A share finder which first searches for the extension share with most free space which matches
* speed. If nothing found it does the same also for all extension shares but speed needs not to * speed. If nothing is found it does the same also for all extension shares but speed needs not to
* match but speed hint needs to be respected. If this isn't working {@link SimpleShareFinder} is * match but speed hint needs to be respected. If this isn't working {@link SimpleShareFinder} is
* used ignoring speed hint. * used ignoring speed hint.
* *
...@@ -41,13 +41,13 @@ public class SpeedOptimizedShareFinder implements IShareFinder ...@@ -41,13 +41,13 @@ public class SpeedOptimizedShareFinder implements IShareFinder
public Share tryToFindShare(SimpleDataSetInformationDTO dataSet, List<Share> shares) public Share tryToFindShare(SimpleDataSetInformationDTO dataSet, List<Share> shares)
{ {
Share share = tryToFindeExtensionShare(dataSet, shares, SpeedChecker.MATCHING_CHECKER); Share share = tryToFindExtensionShare(dataSet, shares, SpeedChecker.MATCHING_CHECKER);
if (share != null) if (share != null)
{ {
return share; return share;
} }
share = share =
tryToFindeExtensionShare(dataSet, shares, tryToFindExtensionShare(dataSet, shares,
SpeedChecker.RESPECTUNG_SPEED_HINT_CHECKER); SpeedChecker.RESPECTUNG_SPEED_HINT_CHECKER);
if (share != null) if (share != null)
{ {
...@@ -57,7 +57,7 @@ public class SpeedOptimizedShareFinder implements IShareFinder ...@@ -57,7 +57,7 @@ public class SpeedOptimizedShareFinder implements IShareFinder
SpeedChecker.IGNORING_SPEED_HINT_CHECKER); SpeedChecker.IGNORING_SPEED_HINT_CHECKER);
} }
private Share tryToFindeExtensionShare(SimpleDataSetInformationDTO dataSet, List<Share> shares, private Share tryToFindExtensionShare(SimpleDataSetInformationDTO dataSet, List<Share> shares,
ISpeedChecker speedChecker) ISpeedChecker speedChecker)
{ {
Share result = null; Share result = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment