> + *     http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing, software
> + * distributed under the License is distributed on an "AS IS" BASIS,
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + * See the License for the specific language governing permissions and
> + * limitations under the License.
> + */
> +package org.jclouds.openstack.swift.blobstore.strategy.internal;
> +
> +public class MultipartNamingStrategy {
> +
> +    private static final String PART_SEPARATOR = "/";
> +
> +    protected String getPartName(String key, int partNumber, int totalParts) 
> {
> +        int base = (int)Math.log10(totalParts) + 1;

@demobox No it is not. It would be the same than `(int) 
Math.floor(Math.log10(totalParts))`
@andrewgaul Just tell me how you want it. My thought was the same, but with 
this solution it just does not matter.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/427/files#r14443364

Reply via email to