commit
stringlengths
40
40
old_file
stringlengths
4
236
new_file
stringlengths
4
236
old_contents
stringlengths
1
3.26k
new_contents
stringlengths
16
4.43k
subject
stringlengths
16
624
message
stringlengths
17
3.29k
lang
stringclasses
5 values
license
stringclasses
13 values
repos
stringlengths
5
91.5k
58ce3652cd94a94b7b6e8c52f820e44f7a702ba5
src/main/java/se/claremont/autotest/common/LogFolder.java
src/main/java/se/claremont/autotest/common/LogFolder.java
package se.claremont.autotest.common; import java.text.SimpleDateFormat; import java.util.Date; /** * The LogFolder class maintains the test run log folder for logging purposes of test based logs, * html based logs, summary log, screen shots and other assets that has to do with test resources * being saved along a...
package se.claremont.autotest.common; import java.io.File; import java.text.SimpleDateFormat; import java.util.Date; /** * The LogFolder class maintains the test run log folder for logging purposes of test based logs, * html based logs, summary log, screen shots and other assets that has to do with test resources ...
Fix for bad file separators for screenshots
Fix for bad file separators for screenshots
Java
apache-2.0
claremontqualitymanagement/TestAutomationFramework,claremontqualitymanagement/TestAutomationFramework,claremontqualitymanagement/TestAutomationFramework
7398d31731967a4e361d5d2ab4acd9cfd0560ee0
src/com/facebook/buck/util/zip/ZipCompressionLevel.java
src/com/facebook/buck/util/zip/ZipCompressionLevel.java
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Revert "[Cleanup] Remove unused MIN enum value."
Revert "[Cleanup] Remove unused MIN enum value." Summary: This value is may already be used through configuration value. Reviewed By: bobyangyf fbshipit-source-id: a1c18fb219
Java
apache-2.0
SeleniumHQ/buck,facebook/buck,romanoid/buck,SeleniumHQ/buck,SeleniumHQ/buck,shs96c/buck,facebook/buck,brettwooldridge/buck,brettwooldridge/buck,shs96c/buck,brettwooldridge/buck,JoelMarcey/buck,kageiit/buck,JoelMarcey/buck,zpao/buck,brettwooldridge/buck,brettwooldridge/buck,facebook/buck,romanoid/buck,shs96c/buck,Seleni...
cfc3fddff9f6d54d14e0d8f109048bd28e2ac112
fake-koji/src/main/java/org/fakekoji/Utils.java
fake-koji/src/main/java/org/fakekoji/Utils.java
package org.fakekoji; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.net.URL; import java.nio.file.Path; public class Utils { private static final ClassLoader classLoader = Utils.class.getClassLoader(); publi...
package org.fakekoji; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; public class Utils ...
Create function for moving files
Create function for moving files
Java
mit
TheIndifferent/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin,TheIndifferent/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin
09422a37ac0e95f74a56ab654997ad80704af398
src/org/joval/os/windows/registry/MultiStringValue.java
src/org/joval/os/windows/registry/MultiStringValue.java
// Copyright (C) 2011 jOVAL.org. All rights reserved. // This software is licensed under the AGPL 3.0 license available at http://www.joval.org/agpl_v3.txt package org.joval.os.windows.registry; import org.joval.intf.windows.registry.IKey; import org.joval.intf.windows.registry.IMultiStringValue; /** * Re...
// Copyright (C) 2011 jOVAL.org. All rights reserved. // This software is licensed under the AGPL 3.0 license available at http://www.joval.org/agpl_v3.txt package org.joval.os.windows.registry; import org.joval.intf.windows.registry.IKey; import org.joval.intf.windows.registry.IMultiStringValue; /** * Re...
Handle REG_MULTI_SZ.toString when there the value is null (i.e., raw data is a single \0, not a double \0\0).
Handle REG_MULTI_SZ.toString when there the value is null (i.e., raw data is a single \0, not a double \0\0).
Java
lgpl-2.1
joval/jOVAL
9f5c4b4f0c83533b35385070d97ad8c819a3f3dc
src/se/chalmers/watchme/database/MoviesTable.java
src/se/chalmers/watchme/database/MoviesTable.java
package se.chalmers.watchme.database; import android.database.sqlite.SQLiteDatabase; import android.util.Log; /** * The table in the database that holds data for Movies. * * @author lisastenberg */ public class MoviesTable { public static final String TABLE_MOVIES = "movies"; public static final String COLUMN...
package se.chalmers.watchme.database; import android.database.sqlite.SQLiteDatabase; import android.util.Log; /** * The table in the database that holds data for Movies. * * @author lisastenberg */ public class MoviesTable { public static final String TABLE_MOVIES = "movies"; public static final String COLUMN...
Add IMDB ID column to Movies table
Add IMDB ID column to Movies table
Java
mit
johanbrook/watchme
e7b1242cfbe45ecca16aca08c503c8fd62aeaf8e
fml/common/cpw/mods/fml/common/IASMHook.java
fml/common/cpw/mods/fml/common/IASMHook.java
package cpw.mods.fml.common; import org.objectweb.asm.tree.ClassNode; public interface IASMHook { /** * Inject the {@link Mod} class node into this instance. This allows retrieval from custom * attributes or other artifacts in your mod class * * @param modClassNode The mod class * @return...
package cpw.mods.fml.common; import org.objectweb.asm.tree.ClassNode; public interface IASMHook { /** * Inject the {@link Mod} class node into this instance. This allows retrieval from custom * attributes or other artifacts in your mod class * * @param modClassNode The mod class * @return...
Tweak IASM hook api. You can return multiple classes now.
Tweak IASM hook api. You can return multiple classes now.
Java
lgpl-2.1
Mathe172/MinecraftForge,dmf444/MinecraftForge,Vorquel/MinecraftForge,jdpadrnos/MinecraftForge,mickkay/MinecraftForge,Theerapak/MinecraftForge,simon816/MinecraftForge,Zaggy1024/MinecraftForge,Ghostlyr/MinecraftForge,karlthepagan/MinecraftForge,RainWarrior/MinecraftForge,blay09/MinecraftForge,luacs1998/MinecraftForge,sha...
63f2cbfe5cbaddc79092904792e6fe1d0b680d6c
src/main/java/de/innoaccel/wamp/server/converter/MessageParseException.java
src/main/java/de/innoaccel/wamp/server/converter/MessageParseException.java
package de.innoaccel.wamp.server.converter; public class MessageParseException extends Exception { private String message; public MessageParseException(String message) { super("Cannot parse message"); this.message = message; } public String getRawMessage() { return th...
package de.innoaccel.wamp.server.converter; public class MessageParseException extends Exception { }
Remove unnecessary message wrapper of exception
Remove unnecessary message wrapper of exception
Java
bsd-2-clause
fritz-gerneth/java-wamp-server
8e4509799efb94404c7fcdfd2dd43ed21ca2bf1c
view/src/net/katsuster/strview/media/ts/TSPacketList.java
view/src/net/katsuster/strview/media/ts/TSPacketList.java
package net.katsuster.strview.media.ts; import net.katsuster.strview.io.*; import net.katsuster.strview.media.*; /** * @author katsuhiro */ public class TSPacketList extends AbstractLargeList<TSPacket> { public LargeBitList buf; public TSPacketList() { super(LENGTH_UNKNOWN); } public TSPac...
package net.katsuster.strview.media.ts; import net.katsuster.strview.io.*; import net.katsuster.strview.media.*; /** * @author katsuhiro */ public class TSPacketList extends AbstractLargeList<TSPacket> { public LargeBitList buf; public TSPacketList() { super(LENGTH_UNKNOWN); } public TSPac...
Use LargeBitList instead of BitBuffer.
Use LargeBitList instead of BitBuffer.
Java
apache-2.0
katsuster/strview
092b039856541905d66a38e9d2de6e98542c66a7
demo/src/demo.mantle/test/java/demo/mantle/TestTool.java
demo/src/demo.mantle/test/java/demo/mantle/TestTool.java
package demo.mantle; public class TestTool implements java.util.spi.ToolProvider { @Override public String name() { return "test(demo.mantle)"; } @Override public int run(java.io.PrintWriter out, java.io.PrintWriter err, String... args) { try { checkMantle(); return 0; } catch (Throw...
package demo.mantle; public class TestTool implements java.util.spi.ToolProvider { @Override public String name() { return "test(demo.mantle)"; } @Override public int run(java.io.PrintWriter out, java.io.PrintWriter err, String... args) { try { checkMantle(); return 0; } catch (Throw...
Print stack trace on error
Print stack trace on error
Java
mit
sormuras/bach,sormuras/bach
2a056e05db247b39ec395631364b8c0d286d6085
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzAccessToken.java
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzAccessToken.java
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.api; import java.util.Objects; /** * Represents an Athenz Access Token * * @author bjorncs */ public class AthenzAccessToken { public static final String HTTP_HEADER...
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.api; import java.util.Objects; /** * Represents an Athenz Access Token * * @author bjorncs */ public class AthenzAccessToken { public static final String HTTP_HEADER...
Access tokens should not be an empty string
Access tokens should not be an empty string
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
52c97feecb4e89e7948572c9c6e93735fb84c776
asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/QueryResult.java
asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/QueryResult.java
/* * Copyright 2009-2010 by The Regents of the University of California * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * you may obtain a copy of the License from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
/* * Copyright 2009-2010 by The Regents of the University of California * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * you may obtain a copy of the License from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
Store and implement the necessary data and methods for storing information about the job and result set id.
Store and implement the necessary data and methods for storing information about the job and result set id. git-svn-id: d02d9bbead102d27982d5b07d77674fa86f521a4@1142 eaa15691-b419-025a-1212-ee371bd00084
Java
apache-2.0
kisskys/incubator-asterixdb,amoudi87/asterixdb,sjaco002/incubator-asterixdb,ty1er/incubator-asterixdb,ecarm002/incubator-asterixdb,apache/incubator-asterixdb,heriram/incubator-asterixdb,parshimers/incubator-asterixdb,heriram/incubator-asterixdb,waans11/incubator-asterixdb,ty1er/incubator-asterixdb,sjaco002/incubator-as...
00c3c668a836d3f5b1abbd3b5b90116358b1aa7e
catalog/java/io/material/catalog/application/CatalogApplicationComponent.java
catalog/java/io/material/catalog/application/CatalogApplicationComponent.java
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Migrate from AndroidSupportInjectionModule to AndroidInjectionModule.
Migrate from AndroidSupportInjectionModule to AndroidInjectionModule. PiperOrigin-RevId: 220291186
Java
apache-2.0
material-components/material-components-android
b4c249b8e09ca0fcc9a043ad6fafba0a29a62a38
src/main/java/org/nanopub/CustomTrigWriter.java
src/main/java/org/nanopub/CustomTrigWriter.java
package org.nanopub; import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import org.openrdf.model.URI; import org.openrdf.rio.trig.TriGWriter; /** * @author Tobias Kuhn */ public class CustomTrigWriter extends TriGWriter { public CustomTrigWriter(OutputStream out) { super(out); } ...
package org.nanopub; import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import org.openrdf.model.URI; import org.openrdf.rio.trig.TriGWriter; import org.openrdf.rio.turtle.TurtleUtil; /** * @author Tobias Kuhn */ public class CustomTrigWriter extends TriGWriter { public CustomTrigWri...
Make sure prefixes are split at '.' when writing TriG
Make sure prefixes are split at '.' when writing TriG
Java
mit
Nanopublication/nanopub-java,Nanopublication/nanopub-java
135c777f14301603730ba5b039575d92ef4c4f58
src/main/java/org/jboss/threads/RejectingExecutor.java
src/main/java/org/jboss/threads/RejectingExecutor.java
/* * JBoss, Home of Professional Open Source. * Copyright 2009, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/* * JBoss, Home of Professional Open Source. * Copyright 2009, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
Allow rejecting executor to have a fixed message
Allow rejecting executor to have a fixed message git-svn-id: 56d4294a9e7c8b1ae21491ba4491dfc41c8d890d@92151 84be2c1e-ba19-0410-b317-a758671a6fc1
Java
apache-2.0
jbossas/jboss-threads
8fff0f6b7abf903a68bc2d9a63d92b0dd14351d6
src/test/java/com/github/arteam/jdbi3/GameDao.java
src/test/java/com/github/arteam/jdbi3/GameDao.java
package com.github.arteam.jdbi3; import com.codahale.metrics.annotation.Timed; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import org.jdbi.v3.sqlobject.customizer.Bind; import org.jdbi.v3.sqlobject.statement.SqlQuery; import org.jdbi.v3.stringtemplate4.UseStringTempla...
package com.github.arteam.jdbi3; import com.codahale.metrics.annotation.Timed; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import org.jdbi.v3.sqlobject.customizer.Bind; import org.jdbi.v3.sqlobject.statement.SqlQuery; import org.jdbi.v3.stringtemplate4.UseStringTempla...
Use the `@Timed` annotation on SQLObjects
Use the `@Timed` annotation on SQLObjects Looks more reasonable to me this way instead logging everything by default.
Java
mit
arteam/dropwizard-jdbi3
6b0bfdd38a22ba6c5ca5799a3412d8d5f8d00553
server/src/main/java/io/spine/server/transport/memory/InMemorySubscriber.java
server/src/main/java/io/spine/server/transport/memory/InMemorySubscriber.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Reduce visibility where `public` is not required
Reduce visibility where `public` is not required
Java
apache-2.0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
bcd4a9642c3b42a729a21b9bb0c3a4087e41e310
src/test/java/com/redhat/victims/Resources.java
src/test/java/com/redhat/victims/Resources.java
package com.redhat.victims; public class Resources { public static final String JAR_FILE = "testdata/junit-4.11/junit-4.11.jar"; public static final String JAR_SHA1 = JAR_FILE + ".sha1"; public static final String JAR_JSON = JAR_FILE + ".json"; public static final String POM_FILE = "testdata/junit-4.11/junit-4.11...
package com.redhat.victims; public class Resources { public static final String JAR_FILE = "testdata/junit-4.11/junit-4.11.jar"; public static final String JAR_SHA1 = JAR_FILE + ".sha1"; public static final String JAR_JSON = JAR_FILE + ".json"; public static final String POM_FILE = "testdata/junit-4.11/junit-4.11...
Fix typo in resource file path
Fix typo in resource file path
Java
agpl-3.0
victims/victims-lib-java
d8a866e0bd96e751888675d86aba5f07e84473ca
src/com/vaadin/demo/featurebrowser/AccordionExample.java
src/com/vaadin/demo/featurebrowser/AccordionExample.java
package com.vaadin.demo.featurebrowser; import com.vaadin.ui.Accordion; import com.vaadin.ui.CustomComponent; import com.vaadin.ui.Label; import com.vaadin.ui.TextField; import com.vaadin.ui.VerticalLayout; /** * Accordion is a derivative of TabSheet, a vertical tabbed layout that places * the tab contents between ...
package com.vaadin.demo.featurebrowser; import com.vaadin.ui.Accordion; import com.vaadin.ui.CustomComponent; import com.vaadin.ui.Label; import com.vaadin.ui.TextField; import com.vaadin.ui.VerticalLayout; /** * Accordion is a derivative of TabSheet, a vertical tabbed layout that places * the tab contents between ...
Fix FeatureBrowser Accordion example tab captions
Fix FeatureBrowser Accordion example tab captions svn changeset:8011/svn branch:6.0
Java
apache-2.0
mittop/vaadin,mstahv/framework,Scarlethue/vaadin,magi42/vaadin,shahrzadmn/vaadin,oalles/vaadin,Peppe/vaadin,oalles/vaadin,Scarlethue/vaadin,peterl1084/framework,Darsstar/framework,travisfw/vaadin,Peppe/vaadin,Darsstar/framework,Scarlethue/vaadin,udayinfy/vaadin,peterl1084/framework,jdahlstrom/vaadin.react,cbmeeks/vaadi...
c305b5f65b8de57cc7980a64a8c50eedb8811cad
src/main/java/tars/commons/core/Messages.java
src/main/java/tars/commons/core/Messages.java
package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALI...
package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALI...
Add new message for invalid date
Add new message for invalid date
Java
mit
CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main
0b956a6d843740d18403c80ff92ed4bb24fbd4b9
cdm/src/main/java/thredds/catalog2/Dataset.java
cdm/src/main/java/thredds/catalog2/Dataset.java
package thredds.catalog2; import thredds.catalog.ServiceType; import java.util.List; /** * _more_ * * @author edavis * @since 4.0 */ public interface Dataset extends MetadataContainer { public String getName(); public String getId(); public String getAlias(); public List<Access> getAccesses(); public ...
package thredds.catalog2; import thredds.catalog.ServiceType; import java.util.List; /** * _more_ * * @author edavis * @since 4.0 */ public interface Dataset extends MetadataContainer { public String getName(); public String getId(); public String getAlias(); public boolean isAccessible(); public Lis...
Work on refactoring the thredds.catalog package.
Work on refactoring the thredds.catalog package.
Java
bsd-3-clause
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
e8c01dfa33dedb5aff7c7eb27cb08f32ba01ee0b
src/test/java/pro/cucumber/RevisionProviderContract.java
src/test/java/pro/cucumber/RevisionProviderContract.java
package pro.cucumber; import org.junit.Before; import org.junit.Test; import pro.cucumber.gitcli.GitCliRevisionProvider; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Pattern; import static org.junit.Assert.assertTrue; public abstract class RevisionProvide...
package pro.cucumber; import org.junit.Before; import org.junit.Test; import pro.cucumber.gitcli.GitCliRevisionProvider; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Pattern; import static org.junit.Assert.assertTrue; public abstract class RevisionProvide...
Add some debugging for circle
Add some debugging for circle
Java
mit
cucumber-ltd/cucumber-pro-plugin-jvm,cucumber-ltd/cucumber-pro-plugin-jvm
347117ce2ec6022192607b9725065de4e0bf2923
src/main/java/org/cytoscape/commandDialog/internal/tasks/SleepCommandTask.java
src/main/java/org/cytoscape/commandDialog/internal/tasks/SleepCommandTask.java
package org.cytoscape.commandDialog.internal.tasks; import org.cytoscape.work.AbstractTask; import org.cytoscape.work.ProvidesTitle; import org.cytoscape.work.TaskMonitor; import org.cytoscape.work.Tunable; public class SleepCommandTask extends AbstractEmptyObservableTask { @ProvidesTitle public String getTitle() ...
package org.cytoscape.commandDialog.internal.tasks; import org.cytoscape.work.AbstractTask; import org.cytoscape.work.ProvidesTitle; import org.cytoscape.work.TaskMonitor; import org.cytoscape.work.Tunable; public class SleepCommandTask extends AbstractEmptyObservableTask { @ProvidesTitle public String getTitle() ...
Add longDescription and exampleStringValue to sleep
Add longDescription and exampleStringValue to sleep
Java
lgpl-2.1
cytoscape/command-dialog
9508c877d0f4278287e83c8e291fa61baee1560b
java/com/allforfunmc/easyoreapi/EasyOreApi.java
java/com/allforfunmc/easyoreapi/EasyOreApi.java
package com.allforfunmc.easyoreapi; import cpw.mods.fml.common.IWorldGenerator; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.commo...
package com.allforfunmc.easyoreapi; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; @Mod (modid="oreapi", name="AllForFun's EasyOreAPI", version="Dev") ...
Revert "Updated What Im Working On File"
Revert "Updated What Im Working On File" This reverts commit 51a8e6d27f762fa131da4ad94b8bdf409409f6c6, reversing changes made to 40cc2cc801557622af48530c37c15a25403e44a2.
Java
mit
AllForFun/modpack,AllForFun/modpack
1396f978e32d666e75578ca755e73d3a3abbdd32
liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java
liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java
package liquibase.integration.ant; import liquibase.resource.FileSystemResourceAccessor; import liquibase.util.StringUtil; import org.apache.tools.ant.AntClassLoader; import java.io.File; public class AntResourceAccessor extends FileSystemResourceAccessor { public AntResourceAccessor(AntClassLoader classLoader,...
package liquibase.integration.ant; import liquibase.resource.FileSystemResourceAccessor; import liquibase.util.StringUtil; import org.apache.tools.ant.AntClassLoader; import java.io.File; public class AntResourceAccessor extends FileSystemResourceAccessor { public AntResourceAccessor(AntClassLoader classLoader,...
Handle path separator differences in AntLoader DAT-4036
Handle path separator differences in AntLoader DAT-4036
Java
apache-2.0
fossamagna/liquibase,liquibase/liquibase,jimmycd/liquibase,mattbertolini/liquibase,jimmycd/liquibase,liquibase/liquibase,mattbertolini/liquibase,jimmycd/liquibase,fossamagna/liquibase,mattbertolini/liquibase,liquibase/liquibase,jimmycd/liquibase,mattbertolini/liquibase,fossamagna/liquibase
dfc1a84a65995f15109e8be8aed6be2dad02dd5c
exercises/acronym/src/test/java/AcronymTest.java
exercises/acronym/src/test/java/AcronymTest.java
import org.junit.Test; import static org.junit.Assert.assertEquals; public class AcronymTest { @Test public void fromTitleCasedPhrases() { final String phrase = "Portable Network Graphics"; final String expected = "PNG"; assertEquals(expected, Acronym.generate(phrase)); } @Te...
import org.junit.Test; import static org.junit.Assert.assertEquals; public class AcronymTest { @Test public void fromTitleCasedPhrases() { final String phrase = "Portable Network Graphics"; final String expected = "PNG"; assertEquals(expected, Acronym.generate(phrase)); } @Te...
Add testcase to Acronym test for single letter word
Add testcase to Acronym test for single letter word
Java
mit
jmluy/xjava,FridaTveit/xjava,jtigger/xjava,FridaTveit/xjava,jmluy/xjava,exercism/xjava,jtigger/xjava,exercism/xjava,nickRm/xjava,nickRm/xjava
84b41e0321572a700b6ecc0b99323092a2b7f92d
src/CommandListener.java
src/CommandListener.java
package net.simpvp.NoSpam; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerCommandPreprocessEvent; public class CommandListener implements Listener { public CommandListener(NoSpam plu...
package net.simpvp.NoSpam; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerCommandPreprocessEvent; public class CommandListener implements Listener { public CommandListener(NoSpam plu...
Add /r and /m to muted commands
Add /r and /m to muted commands
Java
unlicense
C4K3/NoSpam
cfb7da4576abf4b836ebd86a233ec5aefbb45777
server/src/test/java/integration/GreetingTest.java
server/src/test/java/integration/GreetingTest.java
package integration; import hello.Application; import org.fluentlenium.adapter.FluentTest; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.openqa.selenium.phantomjs.PhantomJSDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.springframewor...
package integration; import hello.Application; import org.fluentlenium.adapter.FluentTest; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.openqa.selenium.phantomjs.PhantomJSDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.springframewor...
Test confirming spring boot test runner loads external JARs
Test confirming spring boot test runner loads external JARs
Java
mit
trevorwhitney/spring-boot-skeleton,trevorwhitney/spring-boot-skeleton,jadekler/git-java-spring-boot-skeleton,jadekler/git-java-spring-boot-skeleton,jadekler/git-java-spring-boot-skeleton,trevorwhitney/spring-boot-skeleton
f70374277258143696db108a8ce792bd07eea056
app/src/main/java/com/github/mobile/android/core/repo/RepositoryEventMatcher.java
app/src/main/java/com/github/mobile/android/core/repo/RepositoryEventMatcher.java
package com.github.mobile.android.core.repo; import static org.eclipse.egit.github.core.event.Event.TYPE_FORK; import org.eclipse.egit.github.core.Repository; import org.eclipse.egit.github.core.event.Event; import org.eclipse.egit.github.core.event.EventPayload; import org.eclipse.egit.github.core.event.ForkPayload;...
package com.github.mobile.android.core.repo; import static org.eclipse.egit.github.core.event.Event.TYPE_CREATE; import static org.eclipse.egit.github.core.event.Event.TYPE_FORK; import org.eclipse.egit.github.core.Repository; import org.eclipse.egit.github.core.User; import org.eclipse.egit.github.core.event.Event; ...
Support opening repositories from create events
Support opening repositories from create events
Java
apache-2.0
bineanzhou/android_github,Tadakatsu/android,supercocoa/PocketHub,samuelralak/ForkHub,soztzfsnf/PocketHub,pockethub/PocketHub,sam14305/bhoot.life,xiaopengs/PocketHub,JosephYao/android,esironal/PocketHub,wubin28/android,supercocoa/PocketHub,bineanzhou/android_github,yytang2012/PocketHub,micrologic/PocketHub,Kevin16Wang/P...
7ec163011151826adc7ed23352250ce4accc2747
jre/javatests/com/google/gwt/emultest/AllTests.java
jre/javatests/com/google/gwt/emultest/AllTests.java
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Use @RunWith(Suite.class) for emul test suites.
Import: Use @RunWith(Suite.class) for emul test suites. ...and update J2CL AllTests accordingly. I will delete duplicated J2CL suites in another CL. commit 032e49ff8d12170b00ac3232174f365df0182f4e Author: Goktug Gokdogan <goktug@google.com> Date: Wed Apr 12 20:06:35 2017 -0700 Use @RunWith(Suite.class) for em...
Java
apache-2.0
google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl
0c8484323be566e3bd362bcd99efc24d26c74afd
java/src/main/java/me/gowdru/notes/sort/Sorter.java
java/src/main/java/me/gowdru/notes/sort/Sorter.java
package me.gowdru.notes.sort; import java.util.Comparator; /** * Defines contract for Sorter algorithm implementations */ public interface Sorter<T> { /** * sorts {@code items}i in an array by comparing them using {@code comparator} * @param items items to be sorted * @param comparator compariso...
package me.gowdru.notes.sort; import java.util.Comparator; /** * Defines contract for Sorter algorithm implementations */ public interface Sorter<T> { /** * sorts {@code items}i in an array by comparing them using {@code comparator} * @param items items to be sorted * @param comparator compariso...
Add swap method to base class
Add swap method to base class
Java
apache-2.0
thammegowda/algos,thammegowda/algos,thammegowda/notes,thammegowda/notes,thammegowda/notes,thammegowda/algos
2a6b4b010be285aa64c77809d69bfdcc8faef34f
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/validator/NhsNumberValidator.java
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/validator/NhsNumberValidator.java
package uk.ac.ox.ndm.grails.utils.validator; import com.google.common.base.Strings; /** * @since 14/08/2015 */ public class NhsNumberValidator implements Validator<String> { public Object isValid(String nhsNumberStr) { if (!Strings.isNullOrEmpty(nhsNumberStr)) { nhsNumberStr = nhsNumberStr...
package uk.ac.ox.ndm.grails.utils.validator; import com.google.common.base.Strings; /** * @since 14/08/2015 */ public class NhsNumberValidator implements Validator<String> { public Object isValid(String nhsNumberStr) { if (!Strings.isNullOrEmpty(nhsNumberStr)) { nhsNumberStr = nhsNumberStr...
Add error return strings to the NHS number validator
Add error return strings to the NHS number validator
Java
apache-2.0
olliefreeman/grails-utils,olliefreeman/grails-utils
6418ed26dca3a904f191b8179d162dd97ff4a28a
src/com/volumetricpixels/vitals/main/Vitals.java
src/com/volumetricpixels/vitals/main/Vitals.java
package com.volumetricpixels.vitals.main; import org.spout.api.command.annotated.AnnotatedCommandRegistrationFactory; import org.spout.api.command.annotated.SimpleInjector; import org.spout.api.plugin.CommonPlugin; import com.volumetricpixels.vitals.main.commands.AdminCommands; import com.volumetricpixels.vita...
package com.volumetricpixels.vitals.main; import org.spout.api.command.annotated.AnnotatedCommandRegistrationFactory; import org.spout.api.command.annotated.SimpleInjector; import org.spout.api.plugin.CommonPlugin; import com.volumetricpixels.vitals.main.commands.AdminCommands; import com.volumetricpixels.vita...
Add registration of world + protection cmds
Add registration of world + protection cmds Signed-off-by: Ollie <caf5c3fc6dbe0c347eab97fff2fea94d86d406b9@live.co.uk>
Java
agpl-3.0
VolumetricPixels/Vitals
b44627e2d0406eb4946a7e1243e0880e189049f0
src/main/java/com/uwetrottmann/trakt5/enums/Extended.java
src/main/java/com/uwetrottmann/trakt5/enums/Extended.java
package com.uwetrottmann.trakt5.enums; /** * By default, all methods will return minimal info for movies, shows, episodes, and users. Minimal info is typically * all you need to match locally cached items and includes the title, year, and ids. However, you can request different * extended levels of information. */...
package com.uwetrottmann.trakt5.enums; /** * By default, all methods will return minimal info for movies, shows, episodes, and users. Minimal info is typically * all you need to match locally cached items and includes the title, year, and ids. However, you can request different * extended levels of information. */...
Remove extended default value, should pass null instead.
Remove extended default value, should pass null instead.
Java
apache-2.0
UweTrottmann/trakt-java
81b77e7c17f9e43a6cc9f1acd46cde85fd0a126f
src/test/java/net/folab/fo/runtime/GeneratedCodeTest.java
src/test/java/net/folab/fo/runtime/GeneratedCodeTest.java
package net.folab.fo.runtime; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import java.lang.reflect.Field; import org.junit.Test; import org.junit.Before; public class GeneratedCodeTest { private Class<?> genClass; @Before public void setUp() throws ClassNotFoundExcepti...
package net.folab.fo.runtime; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import java.lang.reflect.Field; import net.folab.fo.runtime._fo._lang.Boolean; import net.folab.fo.runtime._fo._lang.Integer; import org.junit.Test; import org.junit.Before; public class GeneratedCodeTest { ...
Update test code to compare with real type rather than string value.
Update test code to compare with real type rather than string value.
Java
mit
leafriend/fo,leafriend/metaj
80f780bdc173af0f499170684aa12805d9ebd423
src/test/java/org/scribe/utils/StreamUtilsTest.java
src/test/java/org/scribe/utils/StreamUtilsTest.java
package org.scribe.utils; import java.io.ByteArrayInputStream; import java.io.InputStream; import org.junit.Test; import static org.junit.Assert.*; public class StreamUtilsTest { @Test public void shouldCorrectlyDecodeAStream() { String value = "expected"; InputStream is = new ByteArrayInputStream(va...
package org.scribe.utils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import org.junit.Test; import static org.junit.Assert.*; public class StreamUtilsTest { @Test public void shouldCorrectlyDecodeAStream() { String value = "expected"; InputStream is =...
Add negative test for StreamUtils.getStreamContents
Add negative test for StreamUtils.getStreamContents
Java
mit
songfj/scribe-java,markus1978/scribe-java,cruiser/scribe-java,ardock/scribe-java,krishna-satyamurthy-hp-com/scribe-java,zsigmond-czine-everit/scribe-java,Dannemannet/scribe-java,songfj/scribe-java,cruiser/scribe-java,fernandezpablo85/scribe-java,zsigmond-czine-everit/scribe-java,Dannemannet/scribe-java,scribejava/scrib...
726832bdf9262b1cbd291423a4128a60d0ff8f42
src/edu/northwestern/bioinformatics/studycalendar/domain/auditing/DataAuditInfo.java
src/edu/northwestern/bioinformatics/studycalendar/domain/auditing/DataAuditInfo.java
package edu.northwestern.bioinformatics.studycalendar.domain.auditing; import java.util.Date; /** * Subclass of core-commons' DataAuditInfo that aliases the "on" property as "time". * This is so that it can be used in HQL queries ("on" is apparently a reserved word). * * @author Rhett Sutphin */ public class Dat...
package edu.northwestern.bioinformatics.studycalendar.domain.auditing; import org.hibernate.annotations.Type; import java.util.Date; import java.sql.Timestamp; /** * Subclass of core-commons' DataAuditInfo that aliases the "on" property as "time". * This is so that it can be used in HQL queries ("on" is apparently...
Add timestamp type to time property for oracle
Add timestamp type to time property for oracle git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@947 0d517254-b314-0410-acde-c619094fa49f
Java
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
b9e6632dd4251051222c44497d3859a35c1e4587
src/main/java/org/jboss/forge/plugin/idea/ui/component/ComponentBuilderRegistry.java
src/main/java/org/jboss/forge/plugin/idea/ui/component/ComponentBuilderRegistry.java
/* * Copyright 2014 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.plugin.idea.ui.component; import org.jboss.forge.addon.ui.input.InputComponent; /** * A factory for {@link Compo...
/* * Copyright 2014 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.plugin.idea.ui.component; import org.jboss.forge.addon.ui.input.InputComponent; /** * A factory for {@link Compo...
Fix ComponentBuilder order in registry
Fix ComponentBuilder order in registry
Java
epl-1.0
forge/intellij-idea-plugin,forge/intellij-idea-plugin
640067d83b3bdb0c9547926fbecf69b08b227548
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { RaceManager(0), WorkerBoat(1), Buoy(2), FlagBuoy(3), TomatoBuoy(4), TriangleBuoy(5), StartLine(6), FinishLine(7), StartFin...
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { WorkerBoat, FlagBuoy, TomatoBuoy, TriangleBuoy, StartLine, FinishLine, StartFinishLine, RaceManager, //from here, the releva...
Revert "Updated object types in Dev"
Revert "Updated object types in Dev" This reverts commit 9dcc2cb8e65c1f558a431a8cd700ce6696a6d8f3.
Java
apache-2.0
aayaffe/SailingRaceCourseManager,aayaffe/SailingRaceCourseManager
8ffd415633d26f28f397c1cc64b6983e04a1ec84
seaglass-demo/trunk/seaglass-demo/src/com/seaglasslookandfeel/demo/TestScrollBars.java
seaglass-demo/trunk/seaglass-demo/src/com/seaglasslookandfeel/demo/TestScrollBars.java
package com.seaglasslookandfeel.demo; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollBar; import javax.swing.SwingUtilities; import javax.swing.UIManager; public class TestScrollBars { public static void main(String[] args...
package com.seaglasslookandfeel.demo; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.SwingUtilities; import javax.swing.UIManager; public class TestScrollBars { public static...
Use a scroll pane for the scroll bar test.
Use a scroll pane for the scroll bar test.
Java
apache-2.0
archit47/seaglass,khuxtable/seaglass
f76ea6412eaa506fb8bc5a999d958421027ca89b
services/src/api/src/main/java/org/openkilda/northbound/dto/flows/VerificationInput.java
services/src/api/src/main/java/org/openkilda/northbound/dto/flows/VerificationInput.java
/* Copyright 2018 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* Copyright 2018 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Make timeout value optional in flow verification request
Make timeout value optional in flow verification request
Java
apache-2.0
telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,telstra/open-kilda
b81ebdfbb7de232069e3b6bd1b57a9190cacc62d
src/net/izenith/Commands/PlayTime.java
src/net/izenith/Commands/PlayTime.java
package net.izenith.Commands; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.permissions.Permission; import net.izenith.Main.Util; import net.md_5.bungee.api.ChatColor; public class PlayTime implements HubCommand{ @Override public String get...
package net.izenith.Commands; import java.text.DecimalFormat; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.permissions.Permission; import net.izenith.Main.Util; import net.md_5.bungee.api.ChatColor; public class PlayTime implements HubComman...
Fix to long decimal places
Fix to long decimal places
Java
mit
VintageHub/IZenith-Main,iZenith/IZenith-Main
921ab85c6fa6917c144b5c78813ba78e8a02682a
runtime/ceylon/Boolean.java
runtime/ceylon/Boolean.java
package ceylon; public final class Boolean extends Object { private final boolean value; private Boolean(boolean b) { value = b; } public static ceylon.Boolean instance(boolean b) { return new ceylon.Boolean(b); } @Extension public ceylon.String string() { return ...
package ceylon; public final class Boolean extends Object { private final boolean value; private Boolean(boolean b) { value = b; } public static ceylon.Boolean instance(boolean b) { return new ceylon.Boolean(b); } @Extension public ceylon.String string() { return ...
Allow extension to primitive Java types
Allow extension to primitive Java types
Java
apache-2.0
lucaswerkmeister/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language,ceylon/ceylon.language,jvasileff/ceylon.language,unratito/ceylon.language,jvasileff/ceylon.language,lucaswerkmeister/ceylon.language
d4ee512a9dd914d2373e4880bfaad35f6567f24b
src/main/java/com/sb/elsinore/html/TopBar.java
src/main/java/com/sb/elsinore/html/TopBar.java
package com.sb.elsinore.html; import java.io.IOException; import org.rendersnake.HtmlCanvas; import org.rendersnake.Renderable; import com.sb.elsinore.LaunchControl; import static org.rendersnake.HtmlAttributesFactory.*; /** * Create a top bar for the web page. * @author Doug Edey */ public class TopBar impleme...
package com.sb.elsinore.html; import java.io.IOException; import org.rendersnake.HtmlCanvas; import org.rendersnake.Renderable; import com.sb.elsinore.LaunchControl; import static org.rendersnake.HtmlAttributesFactory.*; /** * Create a top bar for the web page. * @author Doug Edey */ public class TopBar impleme...
Improve the top bar for the error messages.
Improve the top bar for the error messages.
Java
mit
dbayub/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,dbayub/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,dbayub/SB_Elsinore_Server,DougEdey/SB_Elsinore_Server,dbayub/SB_Elsinore_Server
f4166d770703ad5a6fbf1736b06e98359f9867c0
src/main/java/sizebay/catalog/client/model/Modeling.java
src/main/java/sizebay/catalog/client/model/Modeling.java
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter public class Modeling { private Long id; private String name; private Gender gender; private String gMerchantBrandName; private String gMerchantAgeGroup; priv...
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter public class Modeling { private Long id; private String name; private Gender gender; private String gMerchantBrandName; private String gMerchantAgeGroup; priv...
Add attribute observation in measures table
Fix: Add attribute observation in measures table
Java
apache-2.0
sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client
af54fde216e281c1ba21b80d0fd89a717f913277
example/src/main/java/com/padakeji/android/ui/autowraplayoutmanager/example/MyScrollView.java
example/src/main/java/com/padakeji/android/ui/autowraplayoutmanager/example/MyScrollView.java
package com.padakeji.android.ui.autowraplayoutmanager.example; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.ScrollView; /** * Created by atanl on 2016/3/5. */ public class MyScrollView extends ScrollView { private int downX; privat...
package com.padakeji.android.ui.autowraplayoutmanager.example; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.ViewConfiguration; import android.widget.ScrollView; /** * 继承于ScrollView,禁止了滑动事件向下传递。 * * Created by atanl on 2015/10/20. */ public ...
Change the example module fixing scroll problem.
Change the example module fixing scroll problem.
Java
apache-2.0
padakeji/AutoWrapLayoutManager
d9ebba39c8e4ac9ac2e6cffe271836fbcedcfae4
src/main/java/uk/gov/register/core/FatEntry.java
src/main/java/uk/gov/register/core/FatEntry.java
package uk.gov.register.core; import uk.gov.register.core.Entry; import uk.gov.mint.Item; public class FatEntry { public final Entry entry; public final Item item; public FatEntry(Entry entry, Item item) { this.entry = entry; this.item = item; } }
package uk.gov.register.core; import uk.gov.mint.Item; public class FatEntry { public final Entry entry; public final Item item; public FatEntry(Entry entry, Item item) { this.entry = entry; this.item = item; } }
Remove unused Entry from mint import
Remove unused Entry from mint import
Java
mit
openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java
607347bd349dbb253ea0bb69b8bba3b6d2fecc0a
src/DashboardFrame.java
src/DashboardFrame.java
/** * Part of Employ */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DashboardFrame extends CommonFrame implements ActionListener { // define dashboard for special frame public DashboardFrame() { super("Dashboard"); JButton buttonAddData = new JButton("Add"); butt...
/** * Part of Employ */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DashboardFrame extends CommonFrame implements ActionListener { JButton buttonAddData = new JButton("Add"); JButton buttonDeleteData = new JButton("Delete"); JTextField textNumber = new JTextField(10); JTe...
Add label and text field with application code
Add label and text field with application code
Java
mit
mhaidarh/employ
0428ce3141a9311440affe35b3705292c67e80cf
src/DashboardFrame.java
src/DashboardFrame.java
/** * Part of Employ */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DashboardFrame extends CommonFrame implements ActionListener { JButton buttonAddData = new JButton("Add"); JButton buttonDeleteData = new JButton("Delete"); JTextField textNumber = new JTextField(10); JTe...
/** * Part of Employ */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DashboardFrame extends CommonFrame implements ActionListener { JButton buttonAddData = new JButton("Add"); JButton buttonDeleteData = new JButton("Delete"); JTextField textInputNumber = new JTextField(10); ...
Create button event with method
Create button event with method Change variable name to be better described. Optimize output flow by disable its editable. Remove unnecessary color changer.
Java
mit
mhaidarh/employ
b0c1f2ebc579d630cf9e3b0043e31c9603fe980e
src/java/com/threerings/media/SafeScrollPane.java
src/java/com/threerings/media/SafeScrollPane.java
// // $Id: SafeScrollPane.java,v 1.3 2002/07/09 21:13:20 ray Exp $ package com.threerings.media; import java.awt.Component; import javax.swing.JScrollPane; import javax.swing.JViewport; /** * A scroll pane that is safe to use in frame managed views. */ public class SafeScrollPane extends JScrollPane { public ...
// // $Id: SafeScrollPane.java,v 1.4 2002/10/06 20:57:36 mdb Exp $ package com.threerings.media; import java.awt.Component; import javax.swing.JScrollPane; import javax.swing.JViewport; /** * A scroll pane that is safe to use in frame managed views. */ public class SafeScrollPane extends JScrollPane { public ...
Allow a safe scroll pane to be constructed without its viewport view (which should be set later via setViewportView()).
Allow a safe scroll pane to be constructed without its viewport view (which should be set later via setViewportView()). git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1783 542714f4-19e9-0310-aa3c-eee0fc999fb1
Java
lgpl-2.1
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
2caf0d6bfe56d5bb1ab85660a190f4cb3c04f684
legacy/containers/sisu-inject-bean/src/main/java/org/sonatype/guice/bean/binders/WireModule.java
legacy/containers/sisu-inject-bean/src/main/java/org/sonatype/guice/bean/binders/WireModule.java
/******************************************************************************* * Copyright (c) 2010, 2013 Sonatype, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
/******************************************************************************* * Copyright (c) 2010, 2013 Sonatype, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
Update to use new strategy pattern
Update to use new strategy pattern
Java
epl-1.0
sonatype/sisu,sonatype/sisu
2447e57deb4e7494263f3cb5f6da2784cf6a8f00
src/com/mick88/dittimetable/DatabaseHelper.java
src/com/mick88/dittimetable/DatabaseHelper.java
package com.mick88.dittimetable; import java.util.List; import android.content.Context; import android.util.Log; import com.michaldabski.msqlite.MSQLiteOpenHelper; import com.mick88.dittimetable.timetable.Timetable; public class DatabaseHelper extends MSQLiteOpenHelper { private static final String name = "timetab...
package com.mick88.dittimetable; import java.util.List; import android.content.Context; import android.util.Log; import com.michaldabski.msqlite.MSQLiteOpenHelper; import com.mick88.dittimetable.timetable.Timetable; public class DatabaseHelper extends MSQLiteOpenHelper { private static final String name = "timetab...
Add method to get all saved timetables
Add method to get all saved timetables
Java
mit
codingbat/dit-timetables,ShayOLeary/dit-timetables,mick88/dit-timetables
a867b7af9d751abe11227988c36386947c3b40f5
src/main/java/net/runelite/cache/IndexType.java
src/main/java/net/runelite/cache/IndexType.java
package net.runelite.cache; public enum IndexType { TWO(2), SPRITE(8); private int id; IndexType(int id) { this.id = id; } public int getNumber() { return id; } }
package net.runelite.cache; public enum IndexType { TWO(2), MODELS(7), SPRITE(8); private int id; IndexType(int id) { this.id = id; } public int getNumber() { return id; } }
Index 7 appears to be models. Am able to view them in rsmv.
Index 7 appears to be models. Am able to view them in rsmv.
Java
bsd-2-clause
KronosDesign/runelite,runelite/runelite,KronosDesign/runelite,UniquePassive/runelite,Noremac201/runelite,Sethtroll/runelite,devinfrench/runelite,Noremac201/runelite,UniquePassive/runelite,devinfrench/runelite,kfricilone/runelite,abelbriggs1/runelite,abelbriggs1/runelite,runelite/runelite,Sethtroll/runelite,kfricilone/r...
a051ebb0af72257214170cce114c5b3c2e2e6c90
src/main/java/com/infinityraider/agricraft/plugins/industrialforegoing/AgriPlantRecollectable.java
src/main/java/com/infinityraider/agricraft/plugins/industrialforegoing/AgriPlantRecollectable.java
package com.infinityraider.agricraft.plugins.industrialforegoing; import com.buuz135.industrial.api.plant.PlantRecollectable; import com.google.common.collect.Lists; import com.infinityraider.agricraft.AgriCraft; import com.infinityraider.agricraft.api.v1.AgriApi; import net.minecraft.core.BlockPos; import net.minecra...
package com.infinityraider.agricraft.plugins.industrialforegoing; import com.buuz135.industrial.api.plant.PlantRecollectable; import com.google.common.collect.Lists; import com.infinityraider.agricraft.AgriCraft; import com.infinityraider.agricraft.api.v1.AgriApi; import net.minecraft.core.BlockPos; import net.minecra...
Fix Industrial Foregoing Compat crash
Fix Industrial Foregoing Compat crash
Java
mit
AgriCraft/AgriCraft
38daf4b0f5623b354e23c1e7fb3f49a016e4466e
findbugs/test/Ex.java
findbugs/test/Ex.java
public class Ex { public void frotz(Object o, int y) { if (y == 6) { synchronized (o) { y += o.hashCode(); if ((y & 1) == 0) throw new RuntimeException(); } } } }
public class Ex { public void frotz(Object o, int y) { if (y == 6) { synchronized (o) { y += o.hashCode(); if ((y & 1) == 0) throw new RuntimeException(); } } } public void alwaysThrow() { throw new RuntimeException(); } }
Add a method that always throws an unhandled exception.
Add a method that always throws an unhandled exception. git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@1679 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
Java
lgpl-2.1
KengoTODA/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs,sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,sewe/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs
82561501c312a4d09caffb57a2886b54db77acbe
gwt-ol3-client/src/test/java/ol/geom/CircleTest.java
gwt-ol3-client/src/test/java/ol/geom/CircleTest.java
package ol.geom; import ol.BaseTestCase; import ol.Coordinate; import ol.OLFactory; /** * A test case for {@link Circle}. * * @author Tino Desjardins */ public class CircleTest extends BaseTestCase { public void test() { double radius = 5; Circle circle = OLFactory.createCircle(OLFa...
package ol.geom; import ol.Coordinate; import ol.GwtOL3BaseTestCase; import ol.OLFactory; /** * A test case for {@link Circle}. * * @author Tino Desjardins */ public class CircleTest extends GwtOL3BaseTestCase { public void testCircle() { injectUrlAndTest(new TestWithInjection() { @Override publ...
Add test for circle geometry
Add test for circle geometry
Java
apache-2.0
TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3,TDesjardins/gwt-ol3,mazlixek/gwt-ol3,mazlixek/gwt-ol3,TDesjardins/GWT-OL3-Playground,mazlixek/gwt-ol3,TDesjardins/gwt-ol3,TDesjardins/gwt-ol3,sebasbaumh/gwt-ol3,TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3
7eae7bf22e3ddbfeae58710445e125caf1c56228
src/main/MediaCheck.java
src/main/MediaCheck.java
public class MediaCheck { }
import java.awt.Image; import java.net.URL; public class MediaCheck { public static void media(URL url) { Image image = null; } }
Create a method which contains URL as argument and create an Image variable
Create a method which contains URL as argument and create an Image variable
Java
apache-2.0
milouk/Web_Crawler
d380ab610a42d8614d21c86e265394aa35f1c4ce
src/main/java/com/darwinsys/springbootdemo/NotAServlet.java
src/main/java/com/darwinsys/springbootdemo/NotAServlet.java
package com.darwinsys.springbootdemo; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @Controller() public class NotAServlet { @RequestMapping(...
package com.darwinsys.springbootdemo; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam;...
Clean up; use ModelMap not Model; only GET method.
Clean up; use ModelMap not Model; only GET method.
Java
bsd-2-clause
IanDarwin/springbootdemo,IanDarwin/springbootdemo
7927d3753ec0c92d811888187e5340ef1e23c3ad
test/net/teamio/blockunit/TestingHarness.java
test/net/teamio/blockunit/TestingHarness.java
package net.teamio.blockunit; /** * Created by oliver on 2017-07-03. */ public class TestingHarness { public void assertEquals(int a, int b) { if (a != b) { throw new TestAssertionException("AssertEquals: %d is not equal to %d", a, b); } } public void assertEquals(boolean a, boolean b) { if (a != b) { ...
package net.teamio.blockunit; /** * Created by oliver on 2017-07-03. */ public class TestingHarness { public void assertEquals(int a, int b) { if (a != b) { throw new TestAssertionException("AssertEquals: %d is not equal to %d", a, b); } } public void assertEquals(boolean a, boolean b) { if (a != b) { ...
Add fail option to testing harness
Add fail option to testing harness
Java
mit
Team-IO/taam
6754475809f825b4ee9025523dd385fd8a8ecd40
src/Prova.java
src/Prova.java
public class Prova { public static void main(String[] args) { System.out.println(42); } }
public class Prova { public static void main(String[] args) { System.out.println(42); System.out.println("Prova di modifica"); } }
Test di verifica di aggiornamento
Test di verifica di aggiornamento
Java
mit
mastershadow/ca-esercizi-java
00e2d00d447a28690d4abbde67b467de30eb0ce6
src/org/nusco/swimmers/creature/genetics/OrganParser.java
src/org/nusco/swimmers/creature/genetics/OrganParser.java
package org.nusco.swimmers.creature.genetics; class OrganParser { private final int[] genes; private int index_in_genes = 0; public OrganParser(DNA dna) { genes = dna.getGenes(); } public int[] nextPart() { int[] result = new int[OrganBuilder.GENES_PER_PART]; int index_in_result = 0; while(index_in_r...
package org.nusco.swimmers.creature.genetics; class OrganParser { private final int[] genes; private int index_in_genes = 0; public OrganParser(DNA dna) { genes = dna.getGenes(); } public int[] nextPart() { int[] result = new int[OrganBuilder.GENES_PER_PART]; int index_in_result = 0; while(index_in_r...
Remove the concept of a DNA terminator
Remove the concept of a DNA terminator
Java
mit
mixolidia/narjillos,colinrubbert/narjillos,mixolidia/narjillos,nusco/narjillos,colinrubbert/narjillos
74bcc04160c75a64b0c843607562d2cd5fc0d972
src/spacefront/Shot.java
src/spacefront/Shot.java
package spacefront; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Shape; import java.awt.geom.AffineTransform; import java.awt.geom.Ellipse2D; import java.util.Set; public class Shot extends SpaceObject { private static final double SIZE = 8; private static final Shape SHAPE = ne...
package spacefront; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Shape; import java.awt.geom.AffineTransform; import java.awt.geom.Ellipse2D; import java.util.Set; public class Shot extends SpaceObject { private static final long serialVersionUID = 1L; /* Appearance */ private stat...
Make the shots a little more interesting.
Make the shots a little more interesting.
Java
unlicense
skeeto/Spacefront
57d814ddd547f58796caef1df2bc625498b9cf70
common/src/test/java/com.saucelabs.common/SauceHelperTest.java
common/src/test/java/com.saucelabs.common/SauceHelperTest.java
package com.saucelabs.common; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; public class SauceHelperTest { private SauceHelper sauceHelper; @Before public void runBeforeEveryTest() { sauceHelper = new SauceHe...
package com.saucelabs.common; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; public class SauceHelperTest { private SauceHelper sauceHelper; @Before public void runBeforeEveryTest() { sauceHelper = new SauceHe...
Rename variable to javascriptExecutor in unit test
Rename variable to javascriptExecutor in unit test
Java
apache-2.0
saucelabs/sauce-java
9ef9cbc1ea7edddb30b007ac94bdd26350eeb466
common/src/main/java/com/dglogik/common/DGApplication.java
common/src/main/java/com/dglogik/common/DGApplication.java
package com.dglogik.common; import android.app.Application; import android.support.multidex.MultiDex; import org.acra.ACRA; import org.acra.ReportingInteractionMode; import org.acra.annotation.ReportsCrashes; @ReportsCrashes( formKey = "", mode = ReportingInteractionMode.DIALOG, mailTo = "k.e...
package com.dglogik.common; import android.app.Application; import android.support.multidex.MultiDex; import org.acra.ACRA; import org.acra.ReportingInteractionMode; import org.acra.annotation.ReportsCrashes; @ReportsCrashes( formKey = "", mode = ReportingInteractionMode.DIALOG, mailTo = "k.e...
Fix where multidex is installed.
Fix where multidex is installed.
Java
apache-2.0
IOT-DSA/dslink-java-android,IOT-DSA/dslink-java-android
ec0b7504c599575de08ac60c93d2c91161867cd9
src/main/java/io/vertx/codegen/ModuleInfo.java
src/main/java/io/vertx/codegen/ModuleInfo.java
package io.vertx.codegen; /** * Describes a module. * * @author <a href="mailto:julien@julienviet.com">Julien Viet</a> */ public class ModuleInfo { private final String fqn; private final String name; public ModuleInfo(String fqn, String name) { this.fqn = fqn; this.name = name; } /** * @re...
package io.vertx.codegen; /** * Describes a module. * * @author <a href="mailto:julien@julienviet.com">Julien Viet</a> */ public class ModuleInfo { private final String fqn; private final String name; public ModuleInfo(String fqn, String name) { this.fqn = fqn; this.name = name; } /** * @re...
Allow to format a module name with a case
Allow to format a module name with a case
Java
apache-2.0
eclipse-vertx/vertx-codegen,vert-x3/vertx-codegen
fa9b44f309112116ab9519d3257c8338ea3f7576
src/main/java/ch/myniva/gradle/caching/s3/AwsS3BuildCache.java
src/main/java/ch/myniva/gradle/caching/s3/AwsS3BuildCache.java
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove AWS credentioals from build cache config
Remove AWS credentioals from build cache config The plugin uses the AWS CLI default credentials chain to find the necessary AWS access and secret keys.
Java
apache-2.0
myniva/gradle-s3-build-cache
8805473143b95afee8a355a8b1662a68ae87352c
h2o-core/src/main/java/water/api/SplitFrameV2.java
h2o-core/src/main/java/water/api/SplitFrameV2.java
package water.api; import hex.SplitFrame; import water.Key; import water.fvec.Frame; public class SplitFrameV2 extends JobV2<SplitFrame, SplitFrameV2> { @API(help="dataset") public Key<Frame> dataset; @API(help="Split ratios - resulting number of split is ratios.length+1", json=true) public double[] ratios; ...
package water.api; import hex.SplitFrame; import water.Key; import water.fvec.Frame; public class SplitFrameV2 extends JobV2<SplitFrame, SplitFrameV2> { @API(help="dataset") public KeyV1.FrameKeyV1 dataset; @API(help="Split ratios - resulting number of split is ratios.length+1", json=true) public double[] ra...
Fix a schema warning in split frame
Fix a schema warning in split frame
Java
apache-2.0
michalkurka/h2o-3,tarasane/h2o-3,printedheart/h2o-3,spennihana/h2o-3,bospetersen/h2o-3,michalkurka/h2o-3,pchmieli/h2o-3,nilbody/h2o-3,YzPaul3/h2o-3,PawarPawan/h2o-v3,michalkurka/h2o-3,mrgloom/h2o-3,kyoren/https-github.com-h2oai-h2o-3,h2oai/h2o-dev,h2oai/h2o-dev,madmax983/h2o-3,michalkurka/h2o-3,tarasane/h2o-3,mathemage...
8159a210b4ce5aa762d7679d15ca1ef43ae9cafd
src/utils/Benchmark.java
src/utils/Benchmark.java
package utils; public class Benchmark { public static long getTime() { return System.nanoTime(); } public static long getMemory() { return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); } public static void printTime(String description, long startTime, long endTime) { long elapsed...
package utils; public class Benchmark { public static long getTime() { return System.nanoTime(); } public static long getMemory() { return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); } public static void printTime(String description, long startTime, long endTime) { long elapsed...
Change integral division to double division.
Change integral division to double division.
Java
bsd-2-clause
darrenfoong/candc
eea7b08b76d6b4ad06258a8b0d8db464b9cf6910
src/main/java/seedu/task/model/task/TaskName.java
src/main/java/seedu/task/model/task/TaskName.java
package seedu.task.model.task; import seedu.task.commons.exceptions.IllegalValueException; /** * Represents a Task's name in the task manager. * Guarantees: immutable; is valid as declared in {@link #isValidName(String)} */ public class TaskName { public static final String MESSAGE_NAME_CONSTRAINTS = "Task na...
package seedu.task.model.task; import seedu.task.commons.exceptions.IllegalValueException; /** * Represents a Task's name in the task manager. * Guarantees: immutable; is valid as declared in {@link #isValidName(String)} */ public class TaskName { public static final String MESSAGE_NAME_CONSTRAINTS = "Task na...
Fix nullPointerException on "edit" command
Fix nullPointerException on "edit" command
Java
mit
CS2103AUG2016-T17-C1/main
8e622ec1c83b064ed3d47d41dc49b179dc9a9f54
app/src/main/java/coderefactory/net/popmovies/MovieAdapter.java
app/src/main/java/coderefactory/net/popmovies/MovieAdapter.java
package coderefactory.net.popmovies; import android.app.Activity; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.List; public class MovieAdapte...
package coderefactory.net.popmovies; import android.app.Activity; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.List; public class MovieAdapte...
Introduce ViewHolder pattern into ArrayAdapter
Introduce ViewHolder pattern into ArrayAdapter
Java
mit
jarst/PopMovies
899754831012b83f04c9952861b63731838f32ad
core/src/main/java/io/undertow/server/handlers/DateHandler.java
core/src/main/java/io/undertow/server/handlers/DateHandler.java
package io.undertow.server.handlers; import java.util.Date; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.DateUtils; import io.undertow.util.Headers; /** * Class that adds the Date: header to a HTTP response. * * The current date string is cached, and...
package io.undertow.server.handlers; import java.util.Date; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.DateUtils; import io.undertow.util.Headers; /** * Class that adds the Date: header to a HTTP response. * * The current date string is cached, and...
Change order that fields are updated
Change order that fields are updated
Java
apache-2.0
jasonchaffee/undertow,stuartwdouglas/undertow,darranl/undertow,jasonchaffee/undertow,Karm/undertow,golovnin/undertow,pedroigor/undertow,yonglehou/undertow,biddyweb/undertow,jstourac/undertow,rogerchina/undertow,emag/codereading-undertow,n1hility/undertow,jasonchaffee/undertow,marschall/undertow,wildfly-security-incubat...
4820905f8414bb4c50ab85618a2c322b6648c450
client/trino-cli/src/main/java/io/trino/cli/Help.java
client/trino-cli/src/main/java/io/trino/cli/Help.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Add exit command to the help text
Add exit command to the help text
Java
apache-2.0
ebyhr/presto,dain/presto,Praveen2112/presto,Praveen2112/presto,losipiuk/presto,ebyhr/presto,11xor6/presto,11xor6/presto,ebyhr/presto,electrum/presto,electrum/presto,dain/presto,losipiuk/presto,11xor6/presto,ebyhr/presto,losipiuk/presto,dain/presto,smartnews/presto,11xor6/presto,electrum/presto,smartnews/presto,dain/pre...
e616438f1ae978210dfcd0e9fc52c9f57ca4afd7
PerfTestSharedClasses/src/shared/Constants.java
PerfTestSharedClasses/src/shared/Constants.java
package shared; /** * */ /** * * @author David Lecoconnier david.lecoconnier@gmail.com * @author Jean-Luc Amitousa-Mankoy jeanluc.amitousa.mankoy@gmail.com * @version 1.0 */ public class Constants { /** * Socket port for objects transmission */ public static int SOCKET_OBJECT_PORT = 2000; /** * Soc...
package shared; /** * */ /** * * @author David Lecoconnier david.lecoconnier@gmail.com * @author Jean-Luc Amitousa-Mankoy jeanluc.amitousa.mankoy@gmail.com * @version 1.0 */ public class Constants { /** * Socket port for objects transmission */ public static int SOCKET_OBJECT_PORT = 2000; /** * Soc...
Change name to improve comprehension
Change name to improve comprehension
Java
apache-2.0
etrange02/Perftest
0654f5efd0d9058f1976e77b48d1915e75a4cf4e
src/main/java/me/jjm_223/pt/PetTransportation.java
src/main/java/me/jjm_223/pt/PetTransportation.java
package me.jjm_223.pt; import me.jjm_223.pt.listeners.EggClick; import me.jjm_223.pt.listeners.EggHit; import me.jjm_223.pt.listeners.ItemDespawn; import me.jjm_223.pt.utils.DataStorage; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; import java.io.File; import java.io.IOException; ...
package me.jjm_223.pt; import me.jjm_223.pt.listeners.EggClick; import me.jjm_223.pt.listeners.EggHit; import me.jjm_223.pt.listeners.ItemDespawn; import me.jjm_223.pt.utils.DataStorage; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; import java.io.File; import java.io.IOException; ...
Fix NPE on item despawn or destroy.
Fix NPE on item despawn or destroy.
Java
mit
CweepahCraft/PetTransportation
34cb26b961b88efd40065c9653d566273fb99fe0
src/test/java/appstore/TestThisWillFailAbunch.java
src/test/java/appstore/TestThisWillFailAbunch.java
package appstore; import static org.junit.Assert.*; import org.junit.Ignore; import org.junit.Test; public class TestThisWillFailAbunch { @Test public void aFailingTest() { assertTrue("I expected this to pass!", true); } @Ignore @Test public void aFailingTest2() { assertTru...
package appstore; import static org.junit.Assert.*; import org.junit.Ignore; import org.junit.Test; public class TestThisWillFailAbunch { @Test public void aFailingTest() { assertTrue("I expected this to pass!", true); } @Ignore @Test public void aFailingTest2() { assertTru...
Fix payment processor test failures
Fix payment processor test failures
Java
mit
i386/app-store-demo,multibranchorg/app-store-demo
ffefb6837cf930b43c13542be20605b2d1080b17
engine/src/main/java/com/malhartech/util/Pair.java
engine/src/main/java/com/malhartech/util/Pair.java
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.util; import java.io.Serializable; public class Pair<F, S> implements Serializable { private static final long serialVersionUID = 731157267102567944L; private F first; private S second; public Pair(F first, S seco...
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.util; import java.io.Serializable; public class Pair<F, S> implements Serializable { private static final long serialVersionUID = 731157267102567944L; public final F first; public final S second; @Override public...
Introduce hashcode and equals property.
Introduce hashcode and equals property.
Java
apache-2.0
brightchen/apex-core,chinmaykolhatkar/incubator-apex-core,tweise/apex-core,simplifi-it/otterx,mt0803/incubator-apex-core,PramodSSImmaneni/incubator-apex-core,tushargosavi/incubator-apex-core,tweise/incubator-apex-core,ishark/incubator-apex-core,tushargosavi/incubator-apex-core,tweise/incubator-apex-core,tweise/apex-cor...
9e37c750c79e3c51da8e4ab80ffd8af9c251035b
ByaManager/src/main/java/gui/kcomponent/KFrame.java
ByaManager/src/main/java/gui/kcomponent/KFrame.java
/* Copyright 2011-2015 Stefano Cappa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
/* Copyright 2011-2015 Stefano Cappa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
Fix versione nel Frame della gui
Fix versione nel Frame della gui
Java
apache-2.0
Ks89/BYAManager,Ks89/BYAManager
1a0df1a9eb803e9fa4b130ee133959bebcd0bb70
src/mazegenerator/MazeGenerator.java
src/mazegenerator/MazeGenerator.java
package mazegenerator; import java.util.ArrayList; import java.util.Arrays; import util.MathUtil; /** * * @author mallory */ public class MazeGenerator { public static void main(String[] args) throws Exception { // byte value = 0; // for(; value < 33; value++){ // MazeTile tile = new ...
package mazegenerator; import java.util.ArrayList; import java.util.Arrays; import util.MathUtil; /** * * @author mallory */ public class MazeGenerator { public static void main(String[] args) throws Exception { // byte value = 0; // for(; value < 33; value++){ // MazeTile tile = new ...
Test Commit. Attempt to fix username.
Test Commit. Attempt to fix username.
Java
mit
nmpandafish6/MazeGenerator
0cb8cb2c60e77b38cf51de0de67db70d4cab45e0
src/test/java/cn/hjmao/dao/minor/MainTest.java
src/test/java/cn/hjmao/dao/minor/MainTest.java
package cn.hjmao.dao.minor; import org.testng.annotations.Test; import static org.testng.Assert.*; /** * Created by hjmao on 3/24/16. */ public class MainTest { @Test public void testAdd() throws Exception { int a = 3; int b = 4; assertEquals(Main.add(a, b), a + b); } }
package cn.hjmao.dao.minor; import org.testng.annotations.Test; import static org.testng.Assert.*; /** * Created by hjmao on 3/24/16. */ public class MainTest { @Test public void testConstruct() throws Exception { assertNotNull(new Main()); } @Test public void testAdd() throws Exception { int a...
Make test coverage to 100%.
Make test coverage to 100%.
Java
apache-2.0
weinvent/minorDao
b24c8eb75216a0c24e8bf7d0012378da8f92716b
src/android/FirebasePluginMessageReceiverManager.java
src/android/FirebasePluginMessageReceiverManager.java
package org.apache.cordova.firebase; import com.google.firebase.messaging.RemoteMessage; import java.util.ArrayList; import java.util.List; public class FirebasePluginMessageReceiverManager { private static List<FirebasePluginMessageReceiver> receivers = new ArrayList<>(); public static void register(Fireba...
package org.apache.cordova.firebase; import com.google.firebase.messaging.RemoteMessage; import java.util.ArrayList; import java.util.List; public class FirebasePluginMessageReceiverManager { private static List<FirebasePluginMessageReceiver> receivers = new ArrayList<FirebasePluginMessageReceiver>(); publi...
Replace <> operator to make code compatible with JDK 1.6
Replace <> operator to make code compatible with JDK 1.6
Java
mit
ceisinger/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase,DigitalsunrayMedia/cordova-plugin-firebase,DigitalsunrayMedia/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase...
6a198027ed0554ea68221036d216b7239d14199c
src/main/java/de/swm/nis/logicaldecoding/VersionHelper.java
src/main/java/de/swm/nis/logicaldecoding/VersionHelper.java
package de.swm.nis.logicaldecoding; import org.springframework.stereotype.Component; @Component public class VersionHelper { public String determineVersion() { return "LogicalDeoding v.1.0.1-SNAPSHOT"; } }
package de.swm.nis.logicaldecoding; import java.io.IOException; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.core.io.Resour...
Determine Version and hash of Build on startup
Determine Version and hash of Build on startup
Java
mit
sebastian-r-schmidt/logicaldecoding
6fc9dd4b30628e58cf64ad606535bbf49ac89287
src/main/java/org/kohsuke/github/ReactionContent.java
src/main/java/org/kohsuke/github/ReactionContent.java
package org.kohsuke.github; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** * Content of reactions. * * @author Kohsuke Kawaguchi * @see <a href="https://developer.github.com/v3/reactions/">API documentation</a> * @see GHReaction */ public enum Reactio...
package org.kohsuke.github; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** * Content of reactions. * * @author Kohsuke Kawaguchi * @see <a href="https://developer.github.com/v3/reactions/">API documentation</a> * @see GHReaction */ public enum Reactio...
Add support for rocket and eyes reactions.
Add support for rocket and eyes reactions.
Java
mit
kohsuke/github-api
148b9de1809ebc1f11bf6daa7663403617410372
Scanner/src/main/java/rabbit/CommandCreator.java
Scanner/src/main/java/rabbit/CommandCreator.java
package rabbit; public class CommandCreator { public String createCommand(String userCommand) { String[] tokens = userCommand.split("\\s+"); switch(tokens[0]) { case "availability": return "nmap -sV " + tokens[1]; case "security": switch (t...
package rabbit; public class CommandCreator { public String createCommand(String userCommand) { String[] tokens = userCommand.split("\\s+"); switch(tokens[0]) { case "security": switch (tokens[1]) { case "tls": return "nmap ...
Remove check for "availability" command because this case is treated separately.
Remove check for "availability" command because this case is treated separately.
Java
apache-2.0
IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring
ef62cfc2a974a7b6eabd873bd6423e5398eba260
src/com/codeup/auth/filters/AuthenticationFilter.java
src/com/codeup/auth/filters/AuthenticationFilter.java
/** * This source file is subject to the license that is bundled with this package in the file LICENSE. */ package com.codeup.auth.filters; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOExce...
/** * This source file is subject to the license that is bundled with this package in the file LICENSE. */ package com.codeup.auth.filters; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOExce...
Fix naming in authentication filter.
Fix naming in authentication filter.
Java
mit
MontealegreLuis/movies,MontealegreLuis/movies
7c19642fe111b98d276c0ea8de99e56c4f089033
src/main/java/cms/qermit/prototype/PrototypeApplication.java
src/main/java/cms/qermit/prototype/PrototypeApplication.java
package cms.qermit.prototype; import cms.qermit.prototype.mongo.TokenRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class PrototypeApplicati...
package cms.qermit.prototype; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class PrototypeApplication { public static void main(String[] args) throws Exception { SpringApplication.run(PrototypeApp...
Remove unused dependency in application class
Remove unused dependency in application class
Java
apache-2.0
qermit-cms/prototype-a
4a6bb8a16bca85c092b05112dc1c6db710cf63d2
src/main/java/seedu/doit/logic/parser/SortCommandParser.java
src/main/java/seedu/doit/logic/parser/SortCommandParser.java
package seedu.doit.logic.parser; import static seedu.doit.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.doit.logic.commands.Command; import seedu.doit.logic.commands.IncorrectCommand; import seedu.doit.logic.commands.SortCommand; /** * Parses input arguments and creates a new SortCommand object...
package seedu.doit.logic.parser; import static seedu.doit.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.doit.logic.commands.Command; import seedu.doit.logic.commands.IncorrectCommand; import seedu.doit.logic.commands.SortCommand; /** * Parses input arguments and creates a new SortCommand object...
Trim argument for sort command
Trim argument for sort command
Java
mit
CS2103JAN2017-W14-B3/main,CS2103JAN2017-W14-B3/main
cde02eb4ee2eaf14fd8ad2ae930fa7ccb8970f3a
src/main/java/com/github/NewsBotIRC/UrlShortener.java
src/main/java/com/github/NewsBotIRC/UrlShortener.java
package com.github.NewsBotIRC; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import org.json.JSONException; import org.json.JSONObject; /** * Created by Geronimo on 11/6/16. */ public c...
package com.github.NewsBotIRC; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; /** * Created by Geronimo on 11/6/16. */ public class UrlShortener { public static String shortenUrl(St...
Change qurl.org for tinyurl.com as URL shortener service
Change qurl.org for tinyurl.com as URL shortener service
Java
mit
MadCoderZ/NewsBotIRC
f20f1a2672df20abc24b6c1b2788e9afc65edf7d
src/main/java/com/maddenabbott/jenny/Application.java
src/main/java/com/maddenabbott/jenny/Application.java
package com.maddenabbott.jenny; /** * The main entry point for Jenny. */ public class Application { public static void main(String[] args) { } }
package com.maddenabbott.jenny; /** * The main entry point for Jenny. */ public class Application { private static final String defaultCommand = "help"; public static void main(String[] args) { String commandName = getCommandName(args, defaultCommand); } private static String getCommandName(final Strin...
Add method to extract command name from command line args.
Add method to extract command name from command line args.
Java
mit
jenny-the-generator/jenny,jenny-the-generator/jenny
4686bb86b0e25cf15db87213848ab40873a88e5a
src/main/java/com/skelril/aurora/util/ChanceUtil.java
src/main/java/com/skelril/aurora/util/ChanceUtil.java
package com.skelril.aurora.util; import java.util.Random; /** * @author Turtle9598 */ public class ChanceUtil { private static Random r = new Random(8888); public static int getRandom(int highestValue) { return highestValue < 0 ? (r.nextInt(highestValue * -1) + 1) * -1 : r.nextInt(highestValue) +...
package com.skelril.aurora.util; import java.util.Random; /** * @author Turtle9598 */ public class ChanceUtil { private static Random r = new Random(1374633257); public static int getRandom(int highestValue) { return highestValue < 0 ? (r.nextInt(highestValue * -1) + 1) * -1 : r.nextInt(highestVa...
Use a more randomly made number for the system
Use a more randomly made number for the system
Java
agpl-3.0
Skelril/Aurora
5b1a80efaa3f754f9f99413441dc13e1ac55a1b2
server/src/test/java/tests/ConfigurationAssert.java
server/src/test/java/tests/ConfigurationAssert.java
package tests; import static org.fest.assertions.Assertions.assertThat; import org.fest.assertions.GenericAssert; import org.kercoin.magrit.Configuration; import org.kercoin.magrit.Configuration.Authentication; public class ConfigurationAssert extends GenericAssert<ConfigurationAssert, Configuration> { Configurati...
package tests; import static org.fest.assertions.Assertions.assertThat; import java.io.File; import org.fest.assertions.GenericAssert; import org.kercoin.magrit.Configuration; import org.kercoin.magrit.Configuration.Authentication; public class ConfigurationAssert extends GenericAssert<ConfigurationAssert, Configur...
Clean paths containing double /
Clean paths containing double /
Java
agpl-3.0
ptitfred/magrit,ptitfred/magrit
aab9deceef0c9e401273d925bd248a3103b21d72
java/ql/test/library-tests/dataflow/fluent-methods/Test.java
java/ql/test/library-tests/dataflow/fluent-methods/Test.java
package smowton; public class Test { private String field; public Test fluentNoop() { return this; } public Test indirectlyFluentNoop() { return this.fluentNoop(); } public Test fluentSet(String x) { this.field = x; return this; } public static Test identity(Test t) { return t;...
public class Test { private String field; public Test fluentNoop() { return this; } public Test indirectlyFluentNoop() { return this.fluentNoop(); } public Test fluentSet(String x) { this.field = x; return this; } public static Test identity(Test t) { return t; } public Str...
Remove package from test Java file
Remove package from test Java file
Java
mit
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
5a41ff5de316f8f094276cb98bc8689569f45bad
src/main/java/com/lyubenblagoev/postfixrest/entity/BaseEntity.java
src/main/java/com/lyubenblagoev/postfixrest/entity/BaseEntity.java
package com.lyubenblagoev.postfixrest.entity; import java.util.Date; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annota...
package com.lyubenblagoev.postfixrest.entity; import java.util.Date; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.PrePersist; import javax.persistence.PreUpdate; import javax.persisten...
Fix automatic update for the 'created' and 'updated' fields
Fix automatic update for the 'created' and 'updated' fields
Java
apache-2.0
lyubenblagoev/postfix-rest-server
5c3a5855067b9015dd58eab240526b229c770c98
src/test/java/com/apruve/ApruveEnvironmentTest.java
src/test/java/com/apruve/ApruveEnvironmentTest.java
package com.apruve; import static org.junit.Assert.*; import org.junit.Test; public class ApruveEnvironmentTest { @Test public void testBaseUrl() { assertEquals("https://www.apruve.com", ApruveEnvironment.PROD.getBaseUrl()); assertEquals("https://test.apruve.com", ApruveEnvironment.TEST.getBaseUrl()); } @...
package com.apruve; import static org.junit.Assert.*; import org.junit.Test; public class ApruveEnvironmentTest { @Test public void testBaseUrl() { assertEquals("https://app.apruve.com", ApruveEnvironment.PROD.getBaseUrl()); assertEquals("https://test.apruve.com", ApruveEnvironment.TEST.getBaseUrl()); } @...
Use app.apruve.com as the prod environment URL
Use app.apruve.com as the prod environment URL
Java
mit
apruve/apruve-java
30d7580440829b7b5fa0f5fa3f4ef7f9af8f1250
src/test/java/com/eatnumber1/util/NullableTest.java
src/test/java/com/eatnumber1/util/NullableTest.java
/* * Copyright 2007 Russell Harmon * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright 2007 Russell Harmon * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Add message to test failure
Add message to test failure
Java
apache-2.0
eatnumber1/javautil,eatnumber1/javautil
81d5364248de03a08b75c78863769dc7698ce285
src/test/java/org/embulk/input/TestRemoteFileInputPlugin.java
src/test/java/org/embulk/input/TestRemoteFileInputPlugin.java
package org.embulk.input; import com.google.common.base.Optional; import org.embulk.EmbulkTestRuntime; import org.embulk.config.ConfigSource; import org.embulk.spi.Exec; import org.junit.Rule; import org.junit.Test; import java.util.Collections; import static org.hamcrest.CoreMatchers.is; import static org.junit.Ass...
package org.embulk.input; //import com.google.common.base.Optional; //import org.embulk.EmbulkTestRuntime; //import org.embulk.config.ConfigSource; //import org.embulk.spi.Exec; //import org.junit.Rule; //import org.junit.Test; // //import java.util.Collections; // //import static org.hamcrest.CoreMatchers.is; //impor...
Comment out test. (Can't compile)
Comment out test. (Can't compile)
Java
mit
kamatama41/embulk-input-remote,kamatama41/embulk-input-remote,kamatama41/embulk-input-remote
f1b3bd30d14e27f355131284f48e352758f9ba4d
src/main/java/org/dstadler/commoncrawl/Extensions.java
src/main/java/org/dstadler/commoncrawl/Extensions.java
package org.dstadler.commoncrawl; /** * Which extensions we are interested in. * * @author dominik.stadler */ public class Extensions { private static final String[] EXTENSIONS = new String[] { // Excel ".xls", ".xlsx", ".xlsm", ".xltx", ".xlsb", // Wor...
package org.dstadler.commoncrawl; /** * Which extensions we are interested in. * * @author dominik.stadler */ public class Extensions { private static final String[] EXTENSIONS = new String[] { // Excel ".xls", ".xlsx", ".xlsm", ".xltx", ".xlsb", // Wor...
Add Extension .pot for powerpoint
Add Extension .pot for powerpoint
Java
bsd-2-clause
centic9/CommonCrawlDocumentDownload,centic9/CommonCrawlDocumentDownload
271309a3881fa581f40a4c3dbbe395ee9527a541
platform/java/src/com/artifex/mupdf/fitz/Location.java
platform/java/src/com/artifex/mupdf/fitz/Location.java
package com.artifex.mupdf.fitz; public final class Location { public final int chapter; public final int page; public final float x, y; public Location(int chapter, int page) { this.chapter = chapter; this.page = page; this.x = this.y = 0; } public Location(int chapter, int page, float x, float y) { this...
package com.artifex.mupdf.fitz; public final class Location { public final int chapter; public final int page; public final float x, y; public Location(int chapter, int page) { this.chapter = chapter; this.page = page; this.x = this.y = 0; } public Location(int chapter, int page, float x, float y) { th...
Allow for comparing document locations.
jni: Allow for comparing document locations.
Java
agpl-3.0
TamirEvan/mupdf,sebras/mupdf,sebras/mupdf,TamirEvan/mupdf,ccxvii/mupdf,TamirEvan/mupdf,ArtifexSoftware/mupdf,TamirEvan/mupdf,ArtifexSoftware/mupdf,ArtifexSoftware/mupdf,ccxvii/mupdf,ccxvii/mupdf,ArtifexSoftware/mupdf,TamirEvan/mupdf,sebras/mupdf,sebras/mupdf,ArtifexSoftware/mupdf,TamirEvan/mupdf,ccxvii/mupdf,sebras/mup...
32a2f274b1406a07d3f9a1d54eebc909384f30bb
Examples/src/main/java/com/aspose/imaging/examples/Utils.java
Examples/src/main/java/com/aspose/imaging/examples/Utils.java
package com.aspose.imaging.examples; import java.io.File; public class Utils { public static String getDataDir(Class c) { File dir = new File(System.getProperty("user.dir")); dir = new File(dir, "src"); dir = new File(dir, "main"); dir = new File(dir, "resources"); for (S...
package com.aspose.imaging.examples; import java.io.File; public class Utils { public static String getDataDir(Class c) { File dir = new File(System.getProperty("user.dir")); dir = new File(dir, "src"); dir = new File(dir, "main"); dir = new File(dir, "resources"); for (S...
Create data directory, if required
Create data directory, if required
Java
mit
asposeimaging/Aspose_Imaging_Java,aspose-imaging/Aspose.Imaging-for-Java,aspose-imaging/Aspose.Imaging-for-Java,aspose-imaging/Aspose.Imaging-for-Java,asposeimaging/Aspose_Imaging_Java,asposeimaging/Aspose_Imaging_Java
0ac5d842765542aef0d960ef447d7b5d24b9a7df
src/main/java/com/ideaheap/StreamsBasedCalculator.java
src/main/java/com/ideaheap/StreamsBasedCalculator.java
package com.ideaheap; import java.util.Comparator; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; public class StreamsBasedCalculator { public Map<String, String> getStringTransition( final Set<String> stringSet, final Map<String, Double> stringCosts) { r...
package com.ideaheap; import java.util.Comparator; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; public class StreamsBasedCalculator { public Map<String, String> getStringTransition( final Set<String> stringSet, final Map<String, Double> stringCosts) { r...
Revert "first attempt to improve performance"
Revert "first attempt to improve performance"
Java
apache-2.0
nwertzberger/streams-vs-loops
056765e24999d499729d77d3ac352a1046e6ad60
src/test/java/com/vryba/selenium/QuestionsPage_TC.java
src/test/java/com/vryba/selenium/QuestionsPage_TC.java
package com.vryba.selenium; import com.vryba.selenium.pageObjects.HomePage; import com.vryba.selenium.pageObjects.QuestionsPage; import com.vryba.selenium.utilities.TestBase; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.testng.Assert; import org.testng.annotations.Test...
package com.vryba.selenium; import com.vryba.selenium.pageObjects.HomePage; import com.vryba.selenium.pageObjects.QuestionsPage; import com.vryba.selenium.utilities.TestBase; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.testng.Assert; import org.testng.annotations.Test...
Test case is still in design phase
Test case is still in design phase
Java
epl-1.0
vryba/selenium
14e9742d241339e568c9bf2ff27a6c2c5d176109
android/src/xyz/igorgee/imagecreator3d/Model.java
android/src/xyz/igorgee/imagecreator3d/Model.java
package xyz.igorgee.imagecreator3d; import java.io.File; public class Model { String name; File location; String modelID; public Model(String name, File location) { this.name = name; this.location = location; } public String getName() { return name; } public ...
package xyz.igorgee.imagecreator3d; import java.io.File; public class Model { String name; File location; Integer modelID; public Model(String name, File location) { this.name = name; this.location = location; } public String getName() { return name; } public...
Change modelId to type Integer
Change modelId to type Integer
Java
mit
IgorGee/Carbonizr,IgorGee/3D-Image-Creator,IgorGee/PendantCreator3D