lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
1e8c6fa50cd28c15f78e84cc1a50fbea2c1213e1
0
hizel/lorsource,fat0troll/lorsource,bodqhrohro/lorsource,kloun/lorsource,maxcom/lorsource,hizel/lorsource,ymn/lorsource,kloun/lorsource,kloun/lorsource,maxcom/lorsource,hizel/lorsource,hizel/lorsource,bodqhrohro/lorsource,fat0troll/lorsource,bodqhrohro/lorsource,maxcom/lorsource,ymn/lorsource,ymn/lorsource,fat0troll/lo...
/* * Copyright 1998-2010 Linux.org.ru * 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...
src/main/java/ru/org/linux/spring/LostPasswordController.java
/* * Copyright 1998-2010 Linux.org.ru * 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...
LostPasswordController: xml-encode нового пароля
src/main/java/ru/org/linux/spring/LostPasswordController.java
LostPasswordController: xml-encode нового пароля
<ide><path>rc/main/java/ru/org/linux/spring/LostPasswordController.java <ide> <ide> String password = userDao.resetPassword(user); <ide> <del> return new ModelAndView("action-done", "message", "Ваш новый пароль: " + password); <add> return new ModelAndView( <add> "action-done", <add> "...
JavaScript
apache-2.0
1338329dcb4c7e69faab52f5cb42a97af04c732e
0
omniscale/gbi-editor,omniscale/gbi-editor
gbi.Layers = gbi.Layers || {}; /** * Baseclass for layer * * @class * @abstract * @param [options] * @param {Boolean} [options.isBaseLayer] * @param {Boolean} [options.background=false] * @param {Boolean} [options.displayInLayerSwitcher] * @param {Boolean} [options.visibility] */ gbi.Layers.Layer = function(...
src/gbi.layer.js
gbi.Layers = gbi.Layers || {}; /** * Baseclass for layer * * @class * @abstract * @param [options] * @param {Boolean} [options.isBaseLayer] * @param {Boolean} [options.background=false] * @param {Boolean} [options.displayInLayerSwitcher] * @param {Boolean} [options.visibility] */ gbi.Layers.Layer = function(...
Set popupFeature to false after removing popup
src/gbi.layer.js
Set popupFeature to false after removing popup
<ide><path>rc/gbi.layer.js <ide> _removePopup: function() { <ide> if(this.popup) { <ide> this.olLayer.map.removePopup(this.popup); <add> this.popupFeature = false; <ide> } <ide> }, <ide> /**
Java
lgpl-2.1
7840244c2eb0ef9ddd7c8a41da88dd8ec0d8c342
0
rhusar/wildfly,jstourac/wildfly,wildfly/wildfly,wildfly/wildfly,pferraro/wildfly,jstourac/wildfly,rhusar/wildfly,pferraro/wildfly,iweiss/wildfly,jstourac/wildfly,pferraro/wildfly,rhusar/wildfly,pferraro/wildfly,jstourac/wildfly,rhusar/wildfly,wildfly/wildfly,iweiss/wildfly,wildfly/wildfly,iweiss/wildfly,iweiss/wildfly
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., 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 it * unde...
ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbJndiBindingsDeploymentUnitProcessor.java
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., 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 it * unde...
[WFLY-13088] Space added as per checkstyle [WFLY-13088] EJB binding should not be listed if there is no Remote interface
ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbJndiBindingsDeploymentUnitProcessor.java
[WFLY-13088] Space added as per checkstyle
<ide><path>jb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbJndiBindingsDeploymentUnitProcessor.java <ide> // now create the bindings for each view under the java:global, java:app and java:module namespaces <ide> EJBViewDescription ejbViewDescription = null; <ide> for (ViewDescriptio...
Java
bsd-3-clause
06589e0d9953c7b9259806da1759e1182e9da166
0
CyberMobius/robolancers.training
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first....
src/edu/wpi/first/wpilibj/templates/subsystems/DriveTrain.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first....
[no commit message]
src/edu/wpi/first/wpilibj/templates/subsystems/DriveTrain.java
[no commit message]
<ide><path>rc/edu/wpi/first/wpilibj/templates/subsystems/DriveTrain.java <ide> <ide> public class DriveTrain extends Subsystem{ <ide> private RobotDrive drive; <del> private double x, y, leftDrive, rightDrive, speed; <add> private double x, y, leftDrive, rightDrive; <ide> <ide> public static SpeedCo...
Java
mit
d0b45545355b121c3553b6e6896b36bdb52c8ae3
0
dalton/P2P-Project,dalton/P2P-Project
package edu.ufl.cise.cnt5106c; import edu.ufl.cise.cnt5106c.log.LogHelper; import edu.ufl.cise.cnt5106c.messages.Message; import edu.ufl.cise.cnt5106c.messages.Request; import java.util.Collection; import java.util.TimerTask; /** * * @author Giacomo Benincasa (giacomo@cise.ufl.edu) */ public class R...
src/main/java/edu/ufl/cise/cnt5106c/RequestTimer.java
package edu.ufl.cise.cnt5106c; import edu.ufl.cise.cnt5106c.log.LogHelper; import edu.ufl.cise.cnt5106c.messages.Message; import edu.ufl.cise.cnt5106c.messages.Request; import java.util.Collection; import java.util.TimerTask; /** * * @author Giacomo Benincasa (giacomo@cise.ufl.edu) */ public class R...
Added log.
src/main/java/edu/ufl/cise/cnt5106c/RequestTimer.java
Added log.
<ide><path>rc/main/java/edu/ufl/cise/cnt5106c/RequestTimer.java <ide> <ide> @Override <ide> public void run() { <del> if (!_fileMgr.hasPart(_request.getPieceIndex())) { <add> if (_fileMgr.hasPart(_request.getPieceIndex())) { <add> LogHelper.getLogger().debug("Not rerequesting piece " +...
Java
apache-2.0
cd8ddf44572c33254ff0a272e30a370d3b00d129
0
ullgren/camel,davidkarlsen/camel,tdiesler/camel,ullgren/camel,cunningt/camel,apache/camel,tdiesler/camel,apache/camel,DariusX/camel,cunningt/camel,tadayosi/camel,pax95/camel,ullgren/camel,pmoerenhout/camel,pmoerenhout/camel,objectiser/camel,davidkarlsen/camel,cunningt/camel,Fabryprog/camel,pmoerenhout/camel,adessaigne/...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
core/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
CAMEL-13667 Windows network UNC paths not treated correctly (File2/tempPrefix) test
core/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
CAMEL-13667
<ide><path>ore/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java <ide> assertEquals("foo\\bar\\baz", FileUtil.compactPath("foo\\bar\\.\\baz")); <ide> assertEquals("foo\\bar\\baz", FileUtil.compactPath("foo\\bar\\\\baz")); <ide> assertEquals("\\foo\\bar\\baz", FileUtil....
Java
mit
5a3b98b2d5a3304baa8096cc4c9decd065847af7
0
nking/shared,nking/shared
package algorithms.util; /** * A class to estimate the amount of memory an object takes. * The user should know if it is to be on the heap or * stack (method local variables) when comparing the results to * available memory. * * Options for other data-types will be added as needed. * * @author nichole */ p...
src/main/java/algorithms/util/ObjectSpaceEstimator.java
package algorithms.util; /** * A class to estimate the amount of memory an object takes. * The user should know if it is to be on the heap or * stack (method local variables) when comparing the results to * available memory. * * @author nichole */ public class ObjectSpaceEstimator { /* memory usa...
first draft of object size estimator, not yet tested.
src/main/java/algorithms/util/ObjectSpaceEstimator.java
first draft of object size estimator, not yet tested.
<ide><path>rc/main/java/algorithms/util/ObjectSpaceEstimator.java <ide> * The user should know if it is to be on the heap or <ide> * stack (method local variables) when comparing the results to <ide> * available memory. <add> * <add> * Options for other data-types will be added as needed. <ide> * <ide> * @autho...
Java
apache-2.0
64e0d4fdea5bf8eeaad14aa8f187f800722f9d44
0
MaybeAGame/MaybeAGame
package pl.grzegorz2047.maybeagame.extension; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLException; im...
core/src/pl/grzegorz2047/maybeagame/extension/ExtensionLoader.java
package pl.grzegorz2047.maybeagame.extension; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; i...
first refactoring
core/src/pl/grzegorz2047/maybeagame/extension/ExtensionLoader.java
first refactoring
<ide><path>ore/src/pl/grzegorz2047/maybeagame/extension/ExtensionLoader.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.lang.reflect.Constructor; <add>import java.lang.reflect.InvocationTargetException; <ide> import java.lang.reflect.Method; <ide> import java.net.MalformedURLE...
Java
apache-2.0
1ce73f5a67a8d10c9b85020abe6c213374190033
0
RaviKumar7443/JPETSTORE,RaviKumar7443/JPETSTORE,RaviKumar7443/JPETSTORE
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class ItemCalculate implements Serializable { private String itemId; private String productId; private BigDecimal listPrice; private BigDecimal unitCost; private int supplierId; private String status; ...
src/main/java/org/mybatis/jpetstore/domain/Calculate.java
package org.mybatis.jpetstore.domain; import java.io.Serializable; import java.math.BigDecimal; public class ItemCalculate implements Serializable { private String itemId; private String productId; private BigDecimal listPrice; private BigDecimal unitCost; private int supplierId; private String status; ...
Fri Dec 2 09:31:06 UTC 2016
src/main/java/org/mybatis/jpetstore/domain/Calculate.java
Fri Dec 2 09:31:06 UTC 2016
<ide><path>rc/main/java/org/mybatis/jpetstore/domain/Calculate.java <ide> } <ide> #Comment added on date:Fri Dec 2 09:27:04 UTC 2016 <ide> #Comment added on date:Fri Dec 2 09:30:46 UTC 2016 <add>#Comment added on date:Fri Dec 2 09:31:06 UTC 2016
Java
mit
f39a4981eb27b384d783ce390522dd4cc9e52499
0
fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg
package ua.com.fielden.platform.utils; import static java.lang.String.format; import static ua.com.fielden.platform.entity.AbstractEntity.DESC; import static ua.com.fielden.platform.entity.AbstractEntity.ID; import static ua.com.fielden.platform.entity.AbstractEntity.KEY; import static ua.com.fielden.platform.entity.A...
platform-pojo-bl/src/main/java/ua/com/fielden/platform/utils/EntityUtils.java
package ua.com.fielden.platform.utils; import static java.lang.String.format; import static ua.com.fielden.platform.entity.AbstractEntity.DESC; import static ua.com.fielden.platform.entity.AbstractEntity.ID; import static ua.com.fielden.platform.entity.AbstractEntity.KEY; import static ua.com.fielden.platform.entity.A...
Adjusted method 'compare' to reuse 'safeCompare'.
platform-pojo-bl/src/main/java/ua/com/fielden/platform/utils/EntityUtils.java
Adjusted method 'compare' to reuse 'safeCompare'.
<ide><path>latform-pojo-bl/src/main/java/ua/com/fielden/platform/utils/EntityUtils.java <ide> */ <ide> @SuppressWarnings("rawtypes") <ide> public static <T extends AbstractEntity<K>, K extends Comparable> int compare(final T o1, final T o2) { <del> if (o1 == o2) { <del> return 0; <del> ...
Java
mit
error: pathspec 'src/exception/NotImplementedException.java' did not match any file(s) known to git
896b949fa2376075f13631f0316352ea2349b8bd
1
jediweon/pork_sandwich
package exception; public class NotImplementedException extends Exception { }
src/exception/NotImplementedException.java
[Implement] the class may be needed
src/exception/NotImplementedException.java
[Implement] the class may be needed
<ide><path>rc/exception/NotImplementedException.java <add>package exception; <add> <add>public class NotImplementedException extends Exception { <add> <add>}
Java
apache-2.0
4a31ad110a7423bdbdf4fef0566a3e12ecc0a6a5
0
iocanel/sundrio,sundrio/sundrio,sundrio/sundrio
/* * Copyright 2015 The original 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 app...
annotations/builder/src/main/java/io/sundr/builder/internal/processor/AbstractBuilderProcessor.java
/* * Copyright 2015 The original 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 app...
Inlinables now extend fluent impl and implement the fluent interface.
annotations/builder/src/main/java/io/sundr/builder/internal/processor/AbstractBuilderProcessor.java
Inlinables now extend fluent impl and implement the fluent interface.
<ide><path>nnotations/builder/src/main/java/io/sundr/builder/internal/processor/AbstractBuilderProcessor.java <ide> JavaType baseInterface = typeGenericOf(BuilderUtils.getInlineType(ctx, inline), clazz.getType()); <ide> JavaMethod method = new JavaMethodBuilder(base.getMethods().iterator().next()).withN...
Java
apache-2.0
63f98dd5ee5dd1bb8bb8cd729c6d49cad34d403e
0
raphw/byte-buddy,raphw/byte-buddy,raphw/byte-buddy
/* * Copyright 2014 - 2019 Rafael Winterhalter * * 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...
byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java
/* * Copyright 2014 - 2019 Rafael Winterhalter * * 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...
Fixes transformer factory.
byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java
Fixes transformer factory.
<ide><path>yte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java <ide> ClassFileBufferStrategy.class, <ide> InstallationListener.class, <ide> RawMatcher.class, <del> ...
Java
apache-2.0
c5e8456ef84ec311b5eaee325f4bfcae42322e70
0
ox-it/wl-oauth
package uk.ac.ox.oucs.oauth.tool.user.pages; import org.apache.wicket.behavior.SimpleAttributeModifier; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.ExternalLink; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.list.ListItem; import or...
tool/src/main/java/uk/ac/ox/oucs/oauth/tool/user/pages/ListAccessors.java
package uk.ac.ox.oucs.oauth.tool.user.pages; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.ExternalLink; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; import org.apach...
Open external links in the main frame
tool/src/main/java/uk/ac/ox/oucs/oauth/tool/user/pages/ListAccessors.java
Open external links in the main frame
<ide><path>ool/src/main/java/uk/ac/ox/oucs/oauth/tool/user/pages/ListAccessors.java <ide> package uk.ac.ox.oucs.oauth.tool.user.pages; <ide> <add>import org.apache.wicket.behavior.SimpleAttributeModifier; <ide> import org.apache.wicket.markup.html.basic.Label; <ide> import org.apache.wicket.markup.html.link.ExternalLi...
Java
apache-2.0
18f0e0e8700b4ca39df85d40b07b77e770ce66fe
0
mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android
package org.mtransit.android.ui.fragment; import java.lang.ref.WeakReference; import java.util.List; import java.util.Locale; import org.mtransit.android.R; import org.mtransit.android.commons.BundleUtils; import org.mtransit.android.commons.MTLog; import org.mtransit.android.commons.PreferenceUtils; import org.mtran...
src/org/mtransit/android/ui/fragment/AgencyTypeFragment.java
package org.mtransit.android.ui.fragment; import java.lang.ref.WeakReference; import java.util.List; import java.util.Locale; import org.mtransit.android.R; import org.mtransit.android.commons.BundleUtils; import org.mtransit.android.commons.MTLog; import org.mtransit.android.commons.PreferenceUtils; import org.mtran...
Code cleaning.
src/org/mtransit/android/ui/fragment/AgencyTypeFragment.java
Code cleaning.
<ide><path>rc/org/mtransit/android/ui/fragment/AgencyTypeFragment.java <ide> } <ide> <ide> <del> @Override <del> public int getABIconDrawableResId() { <del> if (this.type != null && this.type.getMenuResId() != -1) { <del> return this.type.getMenuResId(); <del> } <del> return super.getABIconDrawableResId(); <del...
Java
apache-2.0
7c07ffb882454b6fe584f9fa3f426c2863529d49
0
lime-company/lime-security-powerauth,lime-company/lime-security-powerauth
/* * PowerAuth Crypto Library * Copyright 2018 Wultra s.r.o. * * 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 ap...
powerauth-java-crypto/src/main/java/io/getlime/security/powerauth/crypto/lib/generator/IdentifierGenerator.java
/* * PowerAuth Crypto Library * Copyright 2018 Wultra s.r.o. * * 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 ap...
Update JavaDoc
powerauth-java-crypto/src/main/java/io/getlime/security/powerauth/crypto/lib/generator/IdentifierGenerator.java
Update JavaDoc
<ide><path>owerauth-java-crypto/src/main/java/io/getlime/security/powerauth/crypto/lib/generator/IdentifierGenerator.java <ide> } <ide> <ide> /** <del> * Generate recovery code and PUK for given secret key. <add> * Generate recovery code and PUK. <ide> * @return Recovery code and PUK. <ide> *...
Java
apache-2.0
0a6c01f8ae4e0cae9f834b0f0bb8cc7beff92f89
0
voho/web,voho/web
package cz.voho.wiki.parser; import cz.voho.wiki.model.ParsedWikiPage; import cz.voho.wiki.model.WikiPageSource; import org.junit.Test; import static org.junit.Assert.assertEquals; public class JavadocPreprocessorTest { private final JavadocPreprocessor toTest = new JavadocPreprocessor(); @Test public v...
website/src/test/java/cz/voho/wiki/parser/JavadocPreprocessorTest.java
package cz.voho.wiki.parser; import cz.voho.wiki.model.ParsedWikiPage; import cz.voho.wiki.model.WikiPageSource; import org.junit.Test; import static org.junit.Assert.assertEquals; public class JavadocPreprocessorTest { private JavadocPreprocessor toTest = new JavadocPreprocessor(); @Test public void no...
finally fixed unit tests
website/src/test/java/cz/voho/wiki/parser/JavadocPreprocessorTest.java
finally fixed unit tests
<ide><path>ebsite/src/test/java/cz/voho/wiki/parser/JavadocPreprocessorTest.java <ide> import static org.junit.Assert.assertEquals; <ide> <ide> public class JavadocPreprocessorTest { <del> private JavadocPreprocessor toTest = new JavadocPreprocessor(); <add> private final JavadocPreprocessor toTest = new Javadoc...
Java
mit
da689e5f445328b8dec5402903302e35920becca
0
vilnius/tvarkau-vilniu,vilnius/tvarkau-vilniu,ViliusKraujutis/tvarkau-vilniu
package lt.vilnius.tvarkau; import android.app.ProgressDialog; import android.content.ClipData; import android.content.Intent; import android.content.SharedPreferences; import android.location.Address; import android.location.Geocoder; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStor...
app/src/main/java/lt/vilnius/tvarkau/NewProblemActivity.java
package lt.vilnius.tvarkau; import android.app.ProgressDialog; import android.content.ClipData; import android.content.Intent; import android.content.SharedPreferences; import android.location.Address; import android.location.Geocoder; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStor...
Show New report save changes dialog on back pressed only on data change
app/src/main/java/lt/vilnius/tvarkau/NewProblemActivity.java
Show New report save changes dialog on back pressed only on data change
<ide><path>pp/src/main/java/lt/vilnius/tvarkau/NewProblemActivity.java <ide> @BindView(R.id.toolbar) <ide> Toolbar toolbar; <ide> @BindView(R.id.report_problem_location) <del> EditText addProblemLocation; <add> EditText reportProblemLocation; <ide> @BindView(R.id.problem_images_view_pager) <ide> ...
Java
bsd-3-clause
46fb92d3a5e92a2f4abb9ffc8b4901f38545dd50
0
smartdevicelink/sdl_android
/* * Copyright (c) 2017 - 2019, SmartDeviceLink Consortium, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright no...
base/src/main/java/com/smartdevicelink/proxy/rpc/GPSData.java
/* * Copyright (c) 2017 - 2019, SmartDeviceLink Consortium, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, t...
Remove deprecated constructor from GPSData
base/src/main/java/com/smartdevicelink/proxy/rpc/GPSData.java
Remove deprecated constructor from GPSData
<ide><path>ase/src/main/java/com/smartdevicelink/proxy/rpc/GPSData.java <ide> <ide> /** <ide> * Constructs a newly allocated GPSData object <del> * @deprecated Use {@link #GPSData(@NonNull Double, @NonNull Double)()} instead <del> */ <del> @Deprecated <del> public GPSData(@NonNull Double longitu...
Java
mit
e352c1fe713824cffaf70a874d1d68b7bd8f92c7
0
jenkinsci/authentication-tokens-plugin
/* * The MIT License * * Copyright (c) 2015, CloudBees, Inc., Stephen Connolly. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
src/main/java/jenkins/authentication/tokens/api/AuthenticationTokens.java
/* * The MIT License * * Copyright (c) 2015, CloudBees, Inc., Stephen Connolly. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
Fix last ExtensionList
src/main/java/jenkins/authentication/tokens/api/AuthenticationTokens.java
Fix last ExtensionList
<ide><path>rc/main/java/jenkins/authentication/tokens/api/AuthenticationTokens.java <ide> new TreeMap<Integer, Map.Entry<C, AuthenticationTokenSource>>( <ide> Collections.reverseOrder()); <ide> <del> Jenkins jenkins = Jenkins.getInstance(); <del> ...
Java
apache-2.0
error: pathspec 'MimeType.java' did not match any file(s) known to git
b784b764514ff797ae2a01f9368d3b86d1fc4d28
1
boaglio/java-enum-mimetype
/** * Fernando Boaglio * * Fonte inicial: * http://www.java2s.com/Code/Java/Network-Protocol/enumMimeType.htm */ public enum MimeType { $323("text/h323"), $3gp("video/3gpp"), $7z("application/x-7z-compressed"), abw("application/x-abiword"), ai("application/postscript"), aif("audio/x-aiff")...
MimeType.java
Initial import
MimeType.java
Initial import
<ide><path>imeType.java <add> <add> <add>/** <add> * Fernando Boaglio <add> * <add> * Fonte inicial: <add> * http://www.java2s.com/Code/Java/Network-Protocol/enumMimeType.htm <add> */ <add>public enum MimeType { <add> <add> $323("text/h323"), <add> $3gp("video/3gpp"), <add> $7z("application/x-7z-compressed"), <add> ab...
Java
apache-2.0
60e033738039e344cd3ae0a120abc80b9637339b
0
Praveen2112/presto,smartnews/presto,losipiuk/presto,losipiuk/presto,smartnews/presto,ebyhr/presto,Praveen2112/presto,dain/presto,dain/presto,ebyhr/presto,smartnews/presto,ebyhr/presto,Praveen2112/presto,smartnews/presto,dain/presto,Praveen2112/presto,dain/presto,dain/presto,ebyhr/presto,losipiuk/presto,losipiuk/presto,...
/* * 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...
plugin/trino-memory/src/test/java/io/trino/plugin/memory/TestMemoryConnectorTest.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...
Remove obsolete test AbstractTestDistributedQueries already runs testCreateTable which creates a table, drops it and then asserts that the table is indeed dropped.
plugin/trino-memory/src/test/java/io/trino/plugin/memory/TestMemoryConnectorTest.java
Remove obsolete test
<ide><path>lugin/trino-memory/src/test/java/io/trino/plugin/memory/TestMemoryConnectorTest.java <ide> throw new SkipException("Cassandra connector does not support column default values"); <ide> } <ide> <del> @Test <del> public void testCreateAndDropTable() <del> { <del> int tablesBeforeCre...
Java
mpl-2.0
7297ae7f1f57e6eff3ce3a4033f49a6cc2b5b728
0
vertretungsplanme/substitution-schedule-parser,vertretungsplanme/substitution-schedule-parser
/* * substitution-schedule-parser - Java library for parsing schools' substitution schedules * Copyright (c) 2016 Johan v. Forstner * * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil...
parser/src/main/java/me/vertretungsplan/parser/IndiwareStundenplan24Parser.java
/* * substitution-schedule-parser - Java library for parsing schools' substitution schedules * Copyright (c) 2016 Johan v. Forstner * * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil...
stundenplan24: allow to manually switch to teacher schedule on custom URLs
parser/src/main/java/me/vertretungsplan/parser/IndiwareStundenplan24Parser.java
stundenplan24: allow to manually switch to teacher schedule on custom URLs
<ide><path>arser/src/main/java/me/vertretungsplan/parser/IndiwareStundenplan24Parser.java <ide> executor.auth(login, password); <ide> } else { <ide> baseurl = data.getString("baseurl") + "/"; <del> isTeacher = data.getString("baseurl").endsWith("vplanle"); <add> isT...
Java
mit
f669e8b47b2c5875c79d905a24432d4c827ece35
0
drcrazy/TechReborn,Dimmerworld/TechReborn,TechReborn/TechReborn
package techreborn.items.tools; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.mine...
src/main/java/techreborn/items/tools/ItemNanosaber.java
package techreborn.items.tools; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.attributes.Attribute...
Manually apply: 4fe5b68aaa100eeca675a596fcad9329403ecab8
src/main/java/techreborn/items/tools/ItemNanosaber.java
Manually apply: 4fe5b68aaa100eeca675a596fcad9329403ecab8
<ide><path>rc/main/java/techreborn/items/tools/ItemNanosaber.java <ide> import com.google.common.collect.HashMultimap; <ide> import com.google.common.collect.Multimap; <ide> import net.minecraft.creativetab.CreativeTabs; <add>import net.minecraft.entity.Entity; <ide> import net.minecraft.entity.EntityLivingBase; <ide> ...
Java
bsd-3-clause
99477d9d36e13ab25a4e54d9391b4181843ad111
0
NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt
package gov.nih.nci.caintegrator.ui.graphing.legend; import java.awt.Color; import org.jfree.chart.LegendItemCollection; public class LegendCreator { /** * creates and HTML legend and returns a string of HTML * @param lic - a jFreechart LegendItemCollection * @return */ public static String buildLegend(Le...
src/gov/nih/nci/caintegrator/ui/graphing/legend/LegendCreator.java
package gov.nih.nci.caintegrator.ui.graphing.legend; import java.awt.Color; import org.jfree.chart.LegendItemCollection; public class LegendCreator { /** * creates and HTML legend and returns a string of HTML * @param lic - a jFreechart LegendItemCollection * @return */ public static String buildLegend(Le...
*** empty log message *** SVN-Revision: 1668
src/gov/nih/nci/caintegrator/ui/graphing/legend/LegendCreator.java
*** empty log message ***
<ide><path>rc/gov/nih/nci/caintegrator/ui/graphing/legend/LegendCreator.java <ide> * @return <ide> */ <ide> public static String buildLegend(LegendItemCollection lic, String legendTitle) { <add> <add> //TODO: take annotation link as a string param <add> <ide> String html = new String(); <ide> Color p = nu...
Java
apache-2.0
1247e66da2c11bc7bc6103252dc55c7367bd67ce
0
twalthr/flink,rmetzger/flink,lincoln-lil/flink,xccui/flink,clarkyzl/flink,wwjiang007/flink,greghogan/flink,xccui/flink,gyfora/flink,StephanEwen/incubator-flink,jinglining/flink,clarkyzl/flink,rmetzger/flink,wwjiang007/flink,lincoln-lil/flink,kl0u/flink,tillrohrmann/flink,clarkyzl/flink,aljoscha/flink,godfreyhe/flink,su...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
[FLINK-11767] Deprecate TypeSerializerSnapshotMigrationTestBase in favour of TypeSerializerUpgradeTestBase There are still a lot of tests that need to be ported, but we should not add new tests using the old test base.
flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
[FLINK-11767] Deprecate TypeSerializerSnapshotMigrationTestBase in favour of TypeSerializerUpgradeTestBase
<ide><path>link-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java <ide> * A test base for verifying {@link TypeSerializerSnapshot} migration. <ide> * <ide> * @param <ElementT> the element being serialized. <add> * <add> * @deprecated please use the newer {@link Typ...
Java
bsd-3-clause
622245432b23ec34246bf4acce18a6852541192d
0
troyel/dhis2-core,uonafya/jphes-core,uonafya/jphes-core,jason-p-pickering/dhis2-persian-calendar,jason-p-pickering/dhis2-core,vmluan/dhis2-core,msf-oca-his/dhis2-core,troyel/dhis2-core,msf-oca-his/dhis2-core,troyel/dhis2-core,dhis2/dhis2-core,vietnguyen/dhis2-core,vmluan/dhis2-core,dhis2/dhis2-core,msf-oca-his/dhis2-co...
package org.hisp.dhis.pushanalysis; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
dhis-2/dhis-api/src/main/java/org/hisp/dhis/pushanalysis/PushAnalysis.java
package org.hisp.dhis.pushanalysis; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
Minor fix for mergeWith for PushAnalysis; Had forgotten to set enabled
dhis-2/dhis-api/src/main/java/org/hisp/dhis/pushanalysis/PushAnalysis.java
Minor fix for mergeWith for PushAnalysis; Had forgotten to set enabled
<ide><path>his-2/dhis-api/src/main/java/org/hisp/dhis/pushanalysis/PushAnalysis.java <ide> recipientUserGroups = pushAnalysis.getRecipientUserGroups(); <ide> name = pushAnalysis.getName(); <ide> message = pushAnalysis.getMessage(); <add> enabled = pushAnaly...
Java
apache-2.0
cacdd90bb4722943cea2569a5efeab93c32646d0
0
xujun10110/crawljax,fivejjs/crawljax,cschroed-usgs/crawljax,adini121/crawljax,bigplus/crawljax,adini121/crawljax,aminmf/crawljax,ntatsumi/crawljax,robertzas/crawljax,xujun10110/crawljax,bigplus/crawljax,crawljax/crawljax,aminmf/crawljax,fivejjs/crawljax,xujun10110/crawljax,cschroed-usgs/crawljax,crawljax/crawljax,aminm...
package com.crawljax.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.apache.commons.configuration.ConfigurationException; import org.junit.BeforeClass; import org.junit....
src/test/java/com/crawljax/core/CandidateElementExtractorTest.java
package com.crawljax.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.apache.commons.configuration.ConfigurationException; import org.junit.BeforeClass; import org.junit....
Fixed failed test after not having the initial url loaded directly
src/test/java/com/crawljax/core/CandidateElementExtractorTest.java
Fixed failed test after not having the initial url loaded directly
<ide><path>rc/test/java/com/crawljax/core/CandidateElementExtractorTest.java <ide> CrawljaxController controller = new CrawljaxController(config); <ide> crawler = controller.getCrawler(); <ide> } catch (ConfigurationException e1) { <add> e1.printStackTrace(); <add> fail(e1.getMessage()); <add> } <add> <add...
Java
apache-2.0
1fc58abb7a833ec2701f4b388285346bf268a122
0
CARENTA/CARENTA
import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.ArrayList; /* This is a simple test class used for testing that all the methods work! */ public class Controller { static DateFormat dateFormat = new SimpleDateFormat("YYYY/M/D"); // Gets the current date! stat...
Source-files/Controller.java
import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.ArrayList; /* This is a simple test class used for testing that all the methods work! */ public class Controller { static DateFormat dateFormat = new SimpleDateFormat("YYYY/M/D"); // Gets the current date! stat...
Update Controller.java
Source-files/Controller.java
Update Controller.java
<ide><path>ource-files/Controller.java <ide> <ide> static int orderNbr = 0; <ide> static int customerNbr = 0; <add> static int productNbr = 0; <add> <ide> <ide> static int currentDiscount = 0; // Current over all discount level, could be seasonal... <ide>
Java
apache-2.0
5bda7c0982613c4bfff7b893d5daf8b917feef99
0
sul-dlss/openwayback,MohammedElsayyed/openwayback,zubairkhatri/openwayback,nlnwa/openwayback,zubairkhatri/openwayback,nlnwa/openwayback,SpiralsSeminaire/openwayback,MohammedElsayyed/openwayback,emijrp/openwayback,chasehd/openwayback,nlnwa/openwayback,bitzl/openwayback,zubairkhatri/openwayback,ukwa/openwayback,efundamen...
/* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
wayback-core/src/main/java/org/archive/wayback/resourcestore/resourcefile/ResourceFactory.java
/* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
FEATURE: added performance logging of HTTP 1.1 resource requests git-svn-id: ca6d9ebf75caaf710f0e3a4ee74a890c456d4c90@3467 69e27eb3-6e27-0410-b9c6-fffd7e226fab
wayback-core/src/main/java/org/archive/wayback/resourcestore/resourcefile/ResourceFactory.java
FEATURE: added performance logging of HTTP 1.1 resource requests
<ide><path>ayback-core/src/main/java/org/archive/wayback/resourcestore/resourcefile/ResourceFactory.java <ide> import org.archive.io.warc.WARCRecord; <ide> import org.archive.wayback.core.Resource; <ide> import org.archive.wayback.exception.ResourceNotAvailableException; <add>import org.archive.wayback.webapp.Performan...
JavaScript
bsd-3-clause
542f72815657186aa50d75b8b86352c24d5766b3
0
Becklyn/mojave,Becklyn/mojave,Becklyn/mojave
import "../polyfill/dom"; import {isElement} from "./utils"; /** * Returns whether the given element is - in fact - an HTMLElement and * it matches the optional selector * * @param {Node|HTMLElement} element * @param {?string} selector * @return {boolean} */ function elementMatches (element, selector) { re...
dom/traverse.js
import "../polyfill/dom"; import {isElement} from "./utils"; /** * Returns whether the given element is - in fact - an HTMLElement and * it matches the optional selector * * @param {Node|HTMLElement} element * @param {?string} selector * @return {boolean} */ function elementMatches (element, selector) { re...
Use correct variable in traverse methods
dom/traverse.js
Use correct variable in traverse methods
<ide><path>om/traverse.js <ide> list.push(sibling); <ide> } <ide> <del> sibling = element[method]; <add> sibling = sibling[method]; <ide> } <ide> <ide> return onlyFirst ? null : list; <ide> list.push(element); <ide> } <ide> <del> sibling = element....
Java
mpl-2.0
b2956bd8da95249b61aefd2a4508585115747708
0
Skelril/Skree
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.content.registry.item.zone; import com.skelril.nitro.registry.Craftable; import com...
src/main/java/com/skelril/skree/content/registry/item/zone/ZoneMasterOrb.java
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.content.registry.item.zone; import com.skelril.nitro.registry.Craftable; import com...
Added an notification that's received when you get a zone slave orb
src/main/java/com/skelril/skree/content/registry/item/zone/ZoneMasterOrb.java
Added an notification that's received when you get a zone slave orb
<ide><path>rc/main/java/com/skelril/skree/content/registry/item/zone/ZoneMasterOrb.java <ide> } else { <ide> org.spongepowered.api.item.inventory.ItemStack newStack = createForMaster(itemStack, player); <ide> tf(targetPlayer).inventory.addItemStackToInventory(tf(newStack)); <add> targetPlay...
JavaScript
apache-2.0
f544bdba071bd60a1a6477dd2708ad7b374e61e2
0
Orodan/3akai-ux-jitsi-fork,ets-berkeley-edu/3akai-ux,rhollow/MYB-1615,stuartf/3akai-ux,Orodan/3akai-ux,jonmhays/3akai-ux,stuartf/3akai-ux,Orodan/3akai-ux,rhollow/MYB-1615,Ultimedia/3akai-UX-Vanilla,mrvisser/3akai-ux,ets-berkeley-edu/3akai-ux,Coenego/avocet-ui,Coenego/avocet-ui,nicolaasmatthijs/3akai-ux,rhollow/MYB-1615...
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
devwidgets/contentmetadata/javascript/contentmetadata.js
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
SAKIII-3680 - Description and tags inline-edit fields overflow yellow background
devwidgets/contentmetadata/javascript/contentmetadata.js
SAKIII-3680 - Description and tags inline-edit fields overflow yellow background
<ide><path>evwidgets/contentmetadata/javascript/contentmetadata.js <ide> type: "POST", <ide> cache: false, <ide> data: { <del> "sakai:copyright": $("#contentmetadata_copyright_copyright").val() <add> "sakai:copyright": copyright <ide>...
Java
apache-2.0
b62f2c0c438cac09e10ba44ae879fdf708c5e43f
0
garethahealy/loadbalancer-healthchecks
/* * #%L * GarethHealy :: LoadBalancer HealthChecks :: Fabric8 Gateway AMQP * %% * Copyright (C) 2013 - 2016 Gareth Healy * %% * 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 * * ...
fabric8-gateway-amqp/src/test/java/com/garethahealy/loadbalancer/healthchecks/fabric8/gateway/amqp/CamelContextTest.java
/* * #%L * GarethHealy :: LoadBalancer HealthChecks :: Fabric8 Gateway AMQP * %% * Copyright (C) 2013 - 2016 Gareth Healy * %% * 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 * * ...
Fixed deprecated warning
fabric8-gateway-amqp/src/test/java/com/garethahealy/loadbalancer/healthchecks/fabric8/gateway/amqp/CamelContextTest.java
Fixed deprecated warning
<ide><path>abric8-gateway-amqp/src/test/java/com/garethahealy/loadbalancer/healthchecks/fabric8/gateway/amqp/CamelContextTest.java <ide> */ <ide> package com.garethahealy.loadbalancer.healthchecks.fabric8.gateway.amqp; <ide> <del>import junit.framework.Assert; <ide> import org.apache.camel.test.blueprint.CamelBluepri...
Java
apache-2.0
5826411b1bf440a77b526c8b414ddcf1c6f11a34
0
HanSolo/Medusa
/* * Copyright (c) 2016 by Gerrit Grunwald * * 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...
src/main/java/eu/hansolo/medusa/Test.java
/* * Copyright (c) 2016 by Gerrit Grunwald * * 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...
Cosmetics
src/main/java/eu/hansolo/medusa/Test.java
Cosmetics
<ide><path>rc/main/java/eu/hansolo/medusa/Test.java <ide> //.locale(Locale.GERMANY) <ide> //.numberFormat(numberFormat) <ide> .title("Title") <del> .unit("°C") <add> .unit("\u00B0C")...
JavaScript
agpl-3.0
68e06303a4eaf68d56934d2151a90c70dd3ff5d5
0
vatesfr/xo-web,lmcro/xo-web,lmcro/xo-web,vatesfr/xo-web,lmcro/xo-web
/* eslint-disable camelcase */ import concurrency from 'limit-concurrency-decorator' import deferrable from 'golike-defer' import fatfs from 'fatfs' import synchronized from 'decorator-synchronized' import tarStream from 'tar-stream' import vmdkToVhd from 'xo-vmdk-to-vhd' import { cancelable, catchPlus as pCatch, ...
packages/xo-server/src/xapi/index.js
/* eslint-disable camelcase */ import concurrency from 'limit-concurrency-decorator' import deferrable from 'golike-defer' import fatfs from 'fatfs' import synchronized from 'decorator-synchronized' import tarStream from 'tar-stream' import vmdkToVhd from 'xo-vmdk-to-vhd' import { cancellable, catchPlus as pCatch, ...
chore(xo-server): more cancelable Xapi methods (#2701)
packages/xo-server/src/xapi/index.js
chore(xo-server): more cancelable Xapi methods (#2701)
<ide><path>ackages/xo-server/src/xapi/index.js <ide> import tarStream from 'tar-stream' <ide> import vmdkToVhd from 'xo-vmdk-to-vhd' <ide> import { <del> cancellable, <add> cancelable, <ide> catchPlus as pCatch, <ide> defer, <ide> fromEvent, <ide> <ide> // Returns a stream to the exported VM. <ide> @concur...
JavaScript
mit
6f06f623d264a1b11471c2727360c675753dda66
0
atomar-php/node-atomar-cli,atomar-php/node-atomar-cli,atomar-php/node-atomar-cli
'use strict'; var shell = require('shelljs'); var path = require('path'); var fs = require('fs'); var store = require('./module_store'); var mkdirp = require('mkdirp'); // TODO: set the appropriate path for the os var modules_dir = '/usr/local/lib/atomar_modules'; var spec = { controllers_dir: 'controllers', ...
lib.js
'use strict'; var shell = require('shelljs'); var path = require('path'); var fs = require('fs'); var store = require('./module_store'); var mkdirp = require('mkdirp'); // TODO: set the appropriate path for the os var modules_dir = '/usr/local/lib/atomar_modules'; var spec = { controllers_dir: 'controllers', ...
added some better logging
lib.js
added some better logging
<ide><path>ib.js <ide> cmd = 'sudo ' + cmd; <ide> } <ide> } <add> console.log('Cloning ' + remote + ' into ' + install_path); <ide> shell.exec(cmd); <ide> } else { <ide> throw new Error('The module "' + module_name + '" does not exist.');
JavaScript
agpl-3.0
7bcece7f76f954f9f1508b91fb812b421e5b4ed4
0
lmcro/xo-web,lmcro/xo-web,lmcro/xo-web,vatesfr/xo-web,vatesfr/xo-web
/* eslint-disable camelcase */ import deferrable from 'golike-defer' import fatfs from 'fatfs' import synchronized from 'decorator-synchronized' import tarStream from 'tar-stream' import vmdkToVhd from 'xo-vmdk-to-vhd' import { cancellable, defer } from 'promise-toolbox' import { PassThrough } from 'stream' import { fo...
src/xapi/index.js
/* eslint-disable camelcase */ import deferrable from 'golike-defer' import fatfs from 'fatfs' import synchronized from 'decorator-synchronized' import tarStream from 'tar-stream' import vmdkToVhd from 'xo-vmdk-to-vhd' import { cancellable, defer } from 'promise-toolbox' import { PassThrough } from 'stream' import { fo...
chore(Xapi#exportDeltaVm): remove unnecessary function
src/xapi/index.js
chore(Xapi#exportDeltaVm): remove unnecessary function
<ide><path>rc/xapi/index.js <ide> ...vdi, <ide> $SR$uuid: vdi.$SR.uuid <ide> } <del> const stream = streams[`${vdiRef}.vhd`] = this._exportVdi(vdi, baseVdi, VDI_FORMAT_VHD) <del> $onFailure(() => stream.cancel()) <add> const stream = streams[`${vdiRef}.vhd`] = this._exportVdi(...
Java
apache-2.0
1c3a9f0b04f009651aca5857adf5e7a956039064
0
kiereleaseuser/guvnor,nmirasch/guvnor,porcelli-forks/guvnor,mbiarnes/guvnor,baldimir/guvnor,etirelli/guvnor,etirelli/guvnor,porcelli-forks/guvnor,adrielparedes/guvnor,hxf0801/guvnor,adrielparedes/guvnor,hxf0801/guvnor,wmedvede/guvnor,hxf0801/guvnor,adrielparedes/guvnor,nmirasch/guvnor,Rikkola/guvnor,etirelli/guvnor,bal...
package org.drools.repository; import java.util.ArrayList; import java.util.Calendar; import java.util.Iterator; import java.util.List; import javax.jcr.Session; import javax.jcr.SimpleCredentials; import junit.framework.TestCase; public class RulesRepositoryTest extends TestCase { protected void setUp() throw...
drools-repository/src/test/java/org/drools/repository/RulesRepositoryTest.java
package org.drools.repository; import java.util.ArrayList; import java.util.Calendar; import java.util.Iterator; import java.util.List; import junit.framework.TestCase; public class RulesRepositoryTest extends TestCase { protected void setUp() throws Exception { super.setUp(); } protected void ...
concurrent test git-svn-id: a243bed356d289ca0d1b6d299a0597bdc4ecaa09@9666 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
drools-repository/src/test/java/org/drools/repository/RulesRepositoryTest.java
concurrent test
<ide><path>rools-repository/src/test/java/org/drools/repository/RulesRepositoryTest.java <ide> import java.util.Calendar; <ide> import java.util.Iterator; <ide> import java.util.List; <add> <add>import javax.jcr.Session; <add>import javax.jcr.SimpleCredentials; <ide> <ide> import junit.framework.TestCase; <ide> <ide>...
Java
epl-1.0
e63450cdd0cf5e77278cc3ecfd2c1277f2880cc8
0
jtrfp/terminal-recall,jtrfp/terminal-recall,jtrfp/terminal-recall
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012, 2013 Chuck Ritola. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanie...
src/main/java/org/jtrfp/trcl/beh/Behavior.java
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012, 2013 Chuck Ritola. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanie...
Fixed missed-behavior probing bug.
src/main/java/org/jtrfp/trcl/beh/Behavior.java
Fixed missed-behavior probing bug.
<ide><path>rc/main/java/org/jtrfp/trcl/beh/Behavior.java <ide> <ide> public void setDelegate(Behavior delegate){wrapped=delegate;} <ide> public <T> void probeForBehaviors(Submitter<T> sub, Class<T> type) { <del> if(type.isAssignableFrom(this.getClass())){sub.submit((T)this);return;} <del> if(wrapped!=null...
Java
mit
ac390785232c9441f1a015e002af901e745c333e
0
Peter-Maximilian/settlers-remake,andreasb242/settlers-remake,andreas-eberle/settlers-remake,jsettlers/settlers-remake,jsettlers/settlers-remake,jsettlers/settlers-remake,JKatzwinkel/settlers-remake,andreasb242/settlers-remake,andreasb242/settlers-remake,andreas-eberle/settlers-remake,andreas-eberle/settlers-remake,phir...
package networklib.server.exceptions; /** * * @author Andreas Eberle * */ public class NotAllPlayersReadyException extends Exception { private static final long serialVersionUID = -4442557133757056985L; public NotAllPlayersReadyException() { super(); } public NotAllPlayersReadyException(Str...
networklib/networklib/server/exceptions/NotAllPlayersReadyException.java
package networklib.server.exceptions; /** * * @author Andreas Eberle * */ public class NotAllPlayersReadyException extends Exception { private static final long serialVersionUID = -4442557133757056985L; public NotAllPlayersReadyException() { super(); } public NotAllPlayersReadyException(Str...
- fixed bild path warning
networklib/networklib/server/exceptions/NotAllPlayersReadyException.java
- fixed bild path warning
<ide><path>etworklib/networklib/server/exceptions/NotAllPlayersReadyException.java <ide> super(); <ide> } <ide> <del> public NotAllPlayersReadyException(String message, Throwable cause, boolean arg2, boolean arg3) { <del> super(message, cause, arg2, arg3); <del> } <del> <ide> public NotAllPlayersReadyException(St...
JavaScript
mit
67a904d17dc7f4221ce5a4a1a47ae078a5b3676c
0
comindware/core-ui,comindware/core-ui,comindware/core-ui,comindware/core-ui
//@flow import '../resources/styles/bootstrap-datetimepicker.css'; import '../resources/styles/fonts.css'; import '../resources/styles/common.css'; import '../resources/styles/services/messageService.css'; import '../resources/styles/services/windowService.css'; import '../resources/styles/form.css'; import '../...
src/coreApi.js
//@flow import '../resources/styles/bootstrap-datetimepicker.css'; import '../resources/styles/fonts.css'; import '../resources/styles/common.css'; import '../resources/styles/services/messageService.css'; import '../resources/styles/services/windowService.css'; import '../resources/styles/form.css'; import '../...
Fix oh so craze bug.
src/coreApi.js
Fix oh so craze bug.
<ide><path>rc/coreApi.js <ide> import BreadCrumbs from './components/breadCrumbs/BreadCrumbs'; <ide> import Toolbar from './components/toolbar/ToolbarView'; <ide> import LayoutDesigner from './components/layoutDesigner'; <del>import VideoChat from './components/VideoChat/VideoChat'; <add>import VideoChat from './compon...
Java
bsd-3-clause
error: pathspec 'bench/spellcheck/spellcheck.java-2.java' did not match any file(s) known to git
954a62f6dd5c7130f3096ed3a665d8a407d09659
1
kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout,kragen/shootout
/* * The Great Computer Language Shootout * http://shootout.alioth.debian.org/ * * modified by Mehmet D. AKIN * */ import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; public class SpellCheck { static HashMap dict =...
bench/spellcheck/spellcheck.java-2.java
*** empty log message ***
bench/spellcheck/spellcheck.java-2.java
*** empty log message ***
<ide><path>ench/spellcheck/spellcheck.java-2.java <add>/* <add> * The Great Computer Language Shootout <add> * http://shootout.alioth.debian.org/ <add> * <add> * modified by Mehmet D. AKIN <add> * <add> */ <add> <add>import java.io.BufferedReader; <add>import java.io.FileReader; <add>import java.io.IOException; <add>...
JavaScript
apache-2.0
d0e42af6919721f1ff6eb5dc4dd330843b933866
0
racker/node-cassandra-client,racker/node-cassandra-client
/* * Copyright 2011 Rackspace * * 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...
lib/driver.js
/* * Copyright 2011 Rackspace * * 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...
Make it so it forces a UTF buffer.
lib/driver.js
Make it so it forces a UTF buffer.
<ide><path>ib/driver.js <ide> <ide> var log = require('logmagic').local('node-cassandra-client.driver'); <ide> var sys = require('sys'); <add>var Buffer = require('buffer').Buffer; <ide> var EventEmitter = require('events').EventEmitter; <ide> <ide> var thrift = require('thrift'); <ide> * quoting is handled for you....
JavaScript
mit
290bd291849530bde6ddcb83478ba9f7bc84c1cf
0
jmjuanes/siimple,siimple/siimple,siimple/siimple,jmjuanes/siimple
let flow = require("tinyflow"); let fs = require("fs"); let path = require("path"); let sass = require("node-sass"); let autoprefixer = require("autoprefixer"); let postcss = require("postcss"); let cleanCSS = require("clean-css"); let mkdirp = require("mkdirp"); let config = require("./config.js"); //Files paths let...
scripts/build.js
let flow = require("tinyflow"); let fs = require("fs"); let path = require("path"); let sass = require("node-sass"); let autoprefixer = require("autoprefixer"); let postcss = require("postcss"); let cleanCSS = require("clean-css"); let mkdirp = require("mkdirp"); let config = require("./config.js"); //Files paths let...
Added node_modules to import paths option of SASS compiler
scripts/build.js
Added node_modules to import paths option of SASS compiler
<ide><path>cripts/build.js <ide> return done(error); <ide> } <ide> //Compile the scss file to generate the css <del> let sassOptions = {data: content, includePaths: ["./scss/"]}; <add> let sassOptions = {data: content, includePaths: ["./scss/", "./node_modules/"]}; <ide> ...
JavaScript
agpl-3.0
025ea22a0e1d5bd8d0a769d06c5fd621fcaeb76a
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
347c949a-2e65-11e5-9284-b827eb9e62be
helloWorld.js
34770dfe-2e65-11e5-9284-b827eb9e62be
347c949a-2e65-11e5-9284-b827eb9e62be
helloWorld.js
347c949a-2e65-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>34770dfe-2e65-11e5-9284-b827eb9e62be <add>347c949a-2e65-11e5-9284-b827eb9e62be
Java
mit
914721e7f45e50d8efaee7e6b3f590038b107181
0
AlphaModder/SpongeAPI,jamierocks/SpongeAPI,SpongePowered/SpongeAPI,DDoS/SpongeAPI,Kiskae/SpongeAPI,SpongePowered/SpongeAPI,boomboompower/SpongeAPI,jamierocks/SpongeAPI,kashike/SpongeAPI,boomboompower/SpongeAPI,AlphaModder/SpongeAPI,jonk1993/SpongeAPI,JBYoshi/SpongeAPI,modwizcode/SpongeAPI,kashike/SpongeAPI,modwizcode/S...
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
src/main/java/org/spongepowered/api/event/cause/Cause.java
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
Remove un-needed method verbosity in Cause. Signed-off-by: Chris Sanders <becb1b07b5e7418402924748493938777e4ce438@outlook.com>
src/main/java/org/spongepowered/api/event/cause/Cause.java
Remove un-needed method verbosity in Cause.
<ide><path>rc/main/java/org/spongepowered/api/event/cause/Cause.java <ide> * <ide> * @return The root object cause for this cause <ide> */ <del> public abstract Optional<?> getRoot(); <add> public abstract Optional<?> root(); <ide> <ide> /** <ide> * Gets the first <code>T</code> object of...
JavaScript
lgpl-2.1
50d271a0311a35e787e42b05a6e8103518d779aa
0
mbatchelor/pentaho-platform-plugin-reporting,mbatchelor/pentaho-platform-plugin-reporting,mbatchelor/pentaho-platform-plugin-reporting
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can ob...
package-res/reportviewer/reportviewer.js
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can ob...
[BACKLOG-11523]-Fix crashes on iPad
package-res/reportviewer/reportviewer.js
[BACKLOG-11523]-Fix crashes on iPad
<ide><path>ackage-res/reportviewer/reportviewer.js <ide> <ide> var rowLimitControl = registry.byId('rowLimitControl'); <ide> <del> rowLimitControl.bindChange(dojo.hitch(this, this._initRowLimitCallback)); <del> rowLimitControl.bindGetMessage(function () { <del> return registry.byId('row...
Java
apache-2.0
cea511d36b2dab1fb6ce38a65a78caf70f5d51dc
0
esteinberg/plantuml4idea,esteinberg/plantuml4idea,esteinberg/plantuml4idea
package org.plantuml.idea.rendering; import com.intellij.openapi.diagnostic.Logger; import com.intellij.util.ui.JBUI; import net.sourceforge.plantuml.*; import net.sourceforge.plantuml.core.Diagram; import net.sourceforge.plantuml.cucadiagram.Display; import net.sourceforge.plantuml.cucadiagram.DisplayPositionned; imp...
src/org/plantuml/idea/rendering/PlantUmlRendererUtil.java
package org.plantuml.idea.rendering; import com.intellij.openapi.diagnostic.Logger; import com.intellij.util.ui.JBUI; import net.sourceforge.plantuml.*; import net.sourceforge.plantuml.core.Diagram; import net.sourceforge.plantuml.cucadiagram.Display; import net.sourceforge.plantuml.cucadiagram.DisplayPositionned; imp...
#229 zoom fix
src/org/plantuml/idea/rendering/PlantUmlRendererUtil.java
#229 zoom fix
<ide><path>rc/org/plantuml/idea/rendering/PlantUmlRendererUtil.java <ide> import net.sourceforge.plantuml.core.Diagram; <ide> import net.sourceforge.plantuml.cucadiagram.Display; <ide> import net.sourceforge.plantuml.cucadiagram.DisplayPositionned; <del>import net.sourceforge.plantuml.descdiagram.DescriptionDiagram; <i...
Java
bsd-3-clause
84101e7fcb7a613f9704c7a6db27c9b1e19de30a
0
mdiggory/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,mdiggory/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,mdiggory/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,mdiggory/dryad-repo,ji...
package org.dspace.curate; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.params.HttpMethodParams; import org.dspace.authorize.AuthorizeException; import org.dspace.content.Collection; import org.dspace.content.DCDate; import org.dspace.content.DCValue; import org.dspace....
dspace/modules/api/src/main/java/org/dspace/curate/EmbargoedWithoutPubDate.java
package org.dspace.curate; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.params.HttpMethodParams; import org.dspace.authorize.AuthorizeException; import org.dspace.content.Collection; import org.dspace.content.DCDate; import org.dspace.content.DCValue; import org.dspace....
Sort of works, experimenting with context and dereferencing
dspace/modules/api/src/main/java/org/dspace/curate/EmbargoedWithoutPubDate.java
Sort of works, experimenting with context and dereferencing
<ide><path>space/modules/api/src/main/java/org/dspace/curate/EmbargoedWithoutPubDate.java <ide> <ide> @Override <ide> public int perform(Context ctx, String id) throws IOException { <del> DSpaceObject dso = dereference(ctx,id); <del> this.report("Looking up: " + id + " in context: " + ctx.toS...
JavaScript
mit
1f872e0b32a7a1a90986eaec19f56a98f07743e3
0
quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel
var PolicyGoal = Backbone.Model.extend({ initialize : function() { window.policy_goals.add(this); this.success_query = new Gquery({ key: this.get("success_query")}); this.value_query = new Gquery({ key: this.get("value_query")}); this.target_query = new Gquery({ key: this.get("target_quer...
app/javascripts/lib/models/policy_goal.js
var PolicyGoal = Backbone.Model.extend({ initialize : function() { window.policy_goals.add(this); this.success_query = new Gquery({ key: this.get("success_query")}); this.value_query = new Gquery({ key: this.get("value_query")}); this.target_query = new Gquery({ key: this.get("target_quer...
watt-nu: fixed total score
app/javascripts/lib/models/policy_goal.js
watt-nu: fixed total score
<ide><path>pp/javascripts/lib/models/policy_goal.js <ide> } <ide> <ide> var total = 0; <del> _.each(els, function(key){ var g = this.find_by_key(key); total += g.score();}); <add> var goals = this; <add> _.each(els, function(key){ <add> var g = goals.find_by_key(key); <add> total += g.score(...
Java
apache-2.0
8d0654797824e566953f697dd866af7a8d3100d1
0
yukuku/androidbible,yukuku/androidbible,arnotixe/androidbible,infojulio/androidbible,Jaden-J/androidbible,yukuku/androidbible,Jaden-J/androidbible,yukuku/androidbible,arnotixe/androidbible,arnotixe/androidbible,yukuku/androidbible,infojulio/androidbible,infojulio/androidbible,infojulio/androidbible,infojulio/androidbib...
package yuku.alkitab.base.widget; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.util.AttributeSet; import android.util.Log; import android.util.Sp...
Alkitab/src/yuku/alkitab/base/widget/VersesView.java
package yuku.alkitab.base.widget; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.util.AttributeSet; import android.util.Log; import android.util.Sp...
Open actionmode after switching version when selecting some verses
Alkitab/src/yuku/alkitab/base/widget/VersesView.java
Open actionmode after switching version when selecting some verses
<ide><path>lkitab/src/yuku/alkitab/base/widget/VersesView.java <ide> this.onVerseScrollListener = onVerseScrollListener; <ide> } <ide> <del> // TODO external should provide the attribute map into this widget similar to setData(), <add> // TODO external should provide the attribute map into this widget similar to s...
JavaScript
mit
ff3b174a0397fabacea2e0fe483cd57dbcc0ee3f
0
VishalRohra/chroma-tone,VishalRohra/chroma-tone,conundrumer/sim-seq,conundrumer/sim-seq,conundrumer/chroma-tone,conundrumer/chroma-tone
'use strict'; var savedLinesReader = require('../saved-lines-reader'); var React = require('react'); var Display = require('./Display'); require('buffer'); var Track = require('../track').Track; var OldTrack = require('../track').OldTrack; var DEBUG = false; var defaultLines = [ { x1: 15, y1: 180, x2:...
saved-lines-renderer/src/components/App.js
'use strict'; var savedLinesReader = require('../saved-lines-reader'); var React = require('react'); var Display = require('./Display'); require('buffer'); var Track = require('../track').Track; var OldTrack = require('../track').OldTrack; var DEBUG = false; var defaultLines = [ { x1: 15, y1: 180, x2:...
add track name and version labels
saved-lines-renderer/src/components/App.js
add track name and version labels
<ide><path>aved-lines-renderer/src/components/App.js <ide> : null <ide> } <ide> </p> <add> { <add> this.state.track ? <add> <p> <add> <b>Track name:</b> { this.state.tracks[this.state.selected].label } <br/> <add> <b>Version:</b> { this.stat...
Java
apache-2.0
218c810817eb3f3cc0c82ce4bdadd88dfd41c478
0
eminn/hazelcast-simulator,gAmUssA/hazelcast-simulator,fengshao0907/hazelcast-simulator,Danny-Hazelcast/hazelcast-stabilizer,fengshao0907/hazelcast-simulator,jerrinot/hazelcast-stabilizer,hazelcast/hazelcast-simulator,hasancelik/hazelcast-stabilizer,jerrinot/hazelcast-stabilizer,pveentjer/hazelcast-simulator,hasancelik/...
package com.hazelcast.stabilizer.coordinator; import com.hazelcast.logging.ILogger; import com.hazelcast.logging.Logger; import com.hazelcast.stabilizer.tests.Failure; import java.io.File; import java.util.List; import static com.hazelcast.stabilizer.Utils.appendText; import static com.hazelcast.stabilizer.Utils.sle...
stabilizer/src/main/java/com/hazelcast/stabilizer/coordinator/FailureMonitorThread.java
package com.hazelcast.stabilizer.coordinator; import com.hazelcast.logging.ILogger; import com.hazelcast.logging.Logger; import com.hazelcast.stabilizer.tests.Failure; import java.io.File; import java.util.List; import static com.hazelcast.stabilizer.Utils.appendText; import static com.hazelcast.stabilizer.Utils.sle...
#169, the filename of failures-xxx.txt now matching up with the directory name worker/xxx
stabilizer/src/main/java/com/hazelcast/stabilizer/coordinator/FailureMonitorThread.java
#169, the filename of failures-xxx.txt now matching up with the directory name worker/xxx
<ide><path>tabilizer/src/main/java/com/hazelcast/stabilizer/coordinator/FailureMonitorThread.java <ide> class FailureMonitorThread extends Thread { <ide> private final Coordinator coordinator; <ide> private final ILogger log = Logger.getLogger(FailureMonitorThread.class); <del> private final File file = new ...
Java
mit
f898bd28bf6758381c56898707cf3023f22f67db
0
jhshinn/jabref,zellerdev/jabref,mredaelli/jabref,mredaelli/jabref,sauliusg/jabref,bartsch-dev/jabref,ayanai1/jabref,shitikanth/jabref,mairdl/jabref,mairdl/jabref,jhshinn/jabref,oscargus/jabref,sauliusg/jabref,zellerdev/jabref,Mr-DLib/jabref,tobiasdiez/jabref,obraliar/jabref,Mr-DLib/jabref,Mr-DLib/jabref,tschechlovdev/j...
/* Copyright (C) 2003 David Weitzman, Morten O. Alver All programs in this directory and subdirectories are published under the GNU General Public License as described below. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the F...
src/main/java/net/sf/jabref/model/entry/BibLatexEntryType.java
/* Copyright (C) 2003 David Weitzman, Morten O. Alver All programs in this directory and subdirectories are published under the GNU General Public License as described below. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the F...
Key is validated independently from entry
src/main/java/net/sf/jabref/model/entry/BibLatexEntryType.java
Key is validated independently from entry
<ide><path>rc/main/java/net/sf/jabref/model/entry/BibLatexEntryType.java <ide> public BibLatexEntryType() { <ide> requiredFields = new ArrayList<>(); <ide> optionalFields = new ArrayList<>(); <del> <del> // key is always required <del> requiredFields.add("bibtexkey"); <ide> } <ide>...
Java
mit
2cecb35b1a786bde8c207e0fefe44b419d190856
0
juckele/vivarium,juckele/vivarium,juckele/vivarium
/* * Copyright © 2015 John H Uckele. All rights reserved. */ package io.vivarium.visualization; import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.WindowConstants; import io.vivarium.core.brain.Brain; import io.vivarium.core.brain.RandomB...
vivarium-swing/src/main/java/io/vivarium/visualization/BrainViewerDemo.java
/* * Copyright © 2015 John H Uckele. All rights reserved. */ package io.vivarium.visualization; import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.WindowConstants; import io.vivarium.core.brain.Brain; import io.vivarium.core.brain.RandomB...
Removed unused variables
vivarium-swing/src/main/java/io/vivarium/visualization/BrainViewerDemo.java
Removed unused variables
<ide><path>ivarium-swing/src/main/java/io/vivarium/visualization/BrainViewerDemo.java <ide> <ide> import io.vivarium.core.brain.Brain; <ide> import io.vivarium.core.brain.RandomBrain; <del>import io.vivarium.visualization.animation.ThreadScheduler; <del>import io.vivarium.visualization.animation.Visualizer; <ide> <id...
Java
apache-2.0
4bad336d6cdae087bfbe044a647f171e02b75d41
0
MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim
package gcm.gui; import gcm.parser.GCMFile; import gcm.util.GlobalConstants; import gcm.util.Utility; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import...
gui/src/gcm/gui/SpeciesPanel.java
package gcm.gui; import gcm.parser.GCMFile; import gcm.util.GlobalConstants; import gcm.util.Utility; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import...
fixed a bug related to i/o species within compartments
gui/src/gcm/gui/SpeciesPanel.java
fixed a bug related to i/o species within compartments
<ide><path>ui/src/gcm/gui/SpeciesPanel.java <ide> typeBox = new JComboBox(types); <ide> <ide> //disallow input/output types for species in an enclosed GCM <del> if (!gcm.getEnclosingCompartment().isEmpty()) { <add> if (gcm.getIsWithinCompartment()) { <ide> typeBox.removeItem(GlobalConstants.INPUT); <ide> ...
Java
agpl-3.0
87637b0a754bc2b1036ff5244855ce6994a7da12
0
fviale/programming,jrochas/scale-proactive,acontes/programming,mnip91/programming-multiactivities,mnip91/programming-multiactivities,mnip91/proactive-component-monitoring,PaulKh/scale-proactive,ow2-proactive/programming,PaulKh/scale-proactive,PaulKh/scale-proactive,mnip91/proactive-component-monitoring,acontes/scheduli...
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2006 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
src/org/objectweb/proactive/core/util/wrapper/GenericWrapper.java
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2006 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
changed ObjectWrapper in GenericWrapper git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@4036 28e8926c-6b08-0410-baaa-805c5e19b8d6
src/org/objectweb/proactive/core/util/wrapper/GenericWrapper.java
changed ObjectWrapper in GenericWrapper
<ide><path>rc/org/objectweb/proactive/core/util/wrapper/GenericWrapper.java <ide> */ <ide> public boolean equals(Object arg) { <ide> if (arg instanceof GenericWrapper) { <del> return arg.equals(this.o); <add> return ((GenericWrapper)arg).getObject().equals(this.o); <ide> ...
Java
mit
91a7572eb2c35715bb50851031c932b6657297d3
0
Eluinhost/UHC
/* * Project: UHC * Class: gg.uhc.uhc.UHC * * The MIT License (MIT) * * Copyright (c) 2015 Graham Howden <graham_howden1 at yahoo.co.uk>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the So...
src/main/java/gg/uhc/uhc/UHC.java
/* * Project: UHC * Class: gg.uhc.uhc.UHC * * The MIT License (MIT) * * Copyright (c) 2015 Graham Howden <graham_howden1 at yahoo.co.uk>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the So...
fix /team request error with config key
src/main/java/gg/uhc/uhc/UHC.java
fix /team request error with config key
<ide><path>rc/main/java/gg/uhc/uhc/UHC.java <ide> team.registerSubcommand("remove", new TeamRemoveCommand(commandMessages("team.remove"), teamModule)); <ide> setupCommand(team , "team"); <ide> <del> MessageTemplates requestMessages = commandMessages("teamrequest"); <add> MessageTemplates ...
JavaScript
mpl-2.0
76112516e4da3c733c18636ab015b542a8f2d3d9
0
ewasm/evm2wasm,ewasm/evm2wasm
const fs = require('fs') const tape = require('tape') const Kernel = require('ewasm-kernel') const KernelInterface = require('ewasm-kernel/interface.js') const KernelEnvironment = require('ewasm-kernel/environment.js') const ethUtil = require('ethereumjs-util') const compiler = require('../index.js') const dir = `${__d...
tests/opcodeRunner.js
const fs = require('fs') const tape = require('tape') const Kernel = require('ewasm-kernel') const KernelInterface = require('ewasm-kernel/interface.js') const KernelEnvironment = require('ewasm-kernel/environment.js') const ethUtil = require('ethereumjs-util') const compiler = require('../index.js') const dir = `${__d...
opcodeRunner: compare return value
tests/opcodeRunner.js
opcodeRunner: compare return value
<ide><path>ests/opcodeRunner.js <ide> }) <ide> } <ide> <add> // check for EVM return value <add> if (test.return) { <add> const expectedItem = hexToUint8Array(test.return) <add> //const result = testEnvironment.returnValue <add> const result = testInterface.env.returnValue ...
JavaScript
agpl-3.0
41376467ac79769da485534a0f5662cf275bfb47
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
2988ad32-2e63-11e5-9284-b827eb9e62be
helloWorld.js
298331c2-2e63-11e5-9284-b827eb9e62be
2988ad32-2e63-11e5-9284-b827eb9e62be
helloWorld.js
2988ad32-2e63-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>298331c2-2e63-11e5-9284-b827eb9e62be <add>2988ad32-2e63-11e5-9284-b827eb9e62be
Java
apache-2.0
459b28d52ca952d9f28ecea5dc7fcfb6c06aa579
0
tempbottle/jsimpledb,archiecobbs/jsimpledb,permazen/permazen,permazen/permazen,permazen/permazen,archiecobbs/jsimpledb,archiecobbs/jsimpledb,tempbottle/jsimpledb,tempbottle/jsimpledb
/* * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.jibx; import java.util.Iterator; import java.util.Map; import org.jibx.runtime.JiBXParseException; /** * Utility class for modeling {@link Map} properties in JiBX. * * <p> * For example, suppose you have a ...
src/java/org/dellroad/stuff/jibx/MapEntry.java
/* * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.jibx; import java.util.Iterator; import java.util.Map; /** * Utility class for modeling {@link Map} properties in JiBX. * * <p> * For example, suppose you have a class {@code Company} with a property named {...
- Add "allowDuplicates" parameter to add() and throw JiBXParseException if not. - Fix Javadoc.
src/java/org/dellroad/stuff/jibx/MapEntry.java
- Add "allowDuplicates" parameter to add() and throw JiBXParseException if not. - Fix Javadoc.
<ide><path>rc/java/org/dellroad/stuff/jibx/MapEntry.java <ide> import java.util.Iterator; <ide> import java.util.Map; <ide> <add>import org.jibx.runtime.JiBXParseException; <add> <ide> /** <ide> * Utility class for modeling {@link Map} properties in JiBX. <ide> * <ide> * For example, suppose you have a class {@code...
JavaScript
unlicense
aad8311b87da9b56f563b685128832b04e4b55f6
0
Babazka/youtube-html-playlister,Babazka/youtube-html-playlister
function MyYoutubePlayer() { var that = this; this.playlist_collection = []; this.now_playing_list = []; this.now_playing_video_id = ''; this.current_playlist = ''; this.undo_context = null; this.localSave = function() { this.undo_context = localStorage.getItem('my_youtube_data_co...
tube.js
function MyYoutubePlayer() { var that = this; this.playlist_collection = []; this.now_playing_list = []; this.now_playing_video_id = ''; this.current_playlist = ''; this.undo_context = null; this.localSave = function() { this.undo_context = localStorage.getItem('my_youtube_data_co...
custom stash urls
tube.js
custom stash urls
<ide><path>ube.js <ide> } <ide> this.updateView(); <ide> }; <add> <ide> this.stashUrl = 'http://a-kr.ru/stash/?key=tube'; <add> <add> this.mustGetStashKeySuffix = function() { <add> var suffix = localStorage.getItem('my_youtube_stash_suffix'); <add> if (!suffix) { <add> ...
JavaScript
bsd-3-clause
d3ff9003563e3c2cc10c8828a12f05e0f3267ca7
0
CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb
var CoreView = require('backbone/core-view'); var template = require('./custom-carousel-item.tpl'); module.exports = CoreView.extend({ className: 'Carousel-item', tagName: 'li', events: { 'mouseenter': '_onMouseEnter', 'mouseleave': '_onMouseLeave', 'click': '_onClick' }, initialize: function ...
lib/assets/javascripts/cartodb3/components/custom-carousel/custom-carousel-item-view.js
var CoreView = require('backbone/core-view'); var template = require('./custom-carousel-item.tpl'); module.exports = CoreView.extend({ className: 'Carousel-item', tagName: 'li', events: { 'mouseenter': '_onMouseEnter', 'mouseleave': '_onMouseLeave', 'click': '_onClick' }, initialize: function ...
popups: selected
lib/assets/javascripts/cartodb3/components/custom-carousel/custom-carousel-item-view.js
popups: selected
<ide><path>ib/assets/javascripts/cartodb3/components/custom-carousel/custom-carousel-item-view.js <ide> template: this.model.get('template')() <ide> }) <ide> ); <add> this.$el.addClass('js-' + this.model.getValue()); <ide> this.$el.toggleClass('is-selected', !!this.model.get('selected')); <ide>...
Java
mit
5c68a026d885eaba1c388095ca97729a5183b80f
0
mozack/abra2,mozack/abra2,mozack/abra2,mozack/abra2
package abra; import htsjdk.samtools.AlignmentBlock; import htsjdk.samtools.CigarElement; import htsjdk.samtools.CigarOperator; import htsjdk.samtools.SAMRecord; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; public class AltContigGenerator { // TODO: Multiple ...
src/main/java/abra/AltContigGenerator.java
package abra; import htsjdk.samtools.CigarElement; import htsjdk.samtools.CigarOperator; import htsjdk.samtools.SAMRecord; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; public class AltContigGenerator { private boolean hasHighQualitySoftClipping(SAMRecordWrapp...
Tweaking alternate contig selection due to soft clipping.
src/main/java/abra/AltContigGenerator.java
Tweaking alternate contig selection due to soft clipping.
<ide><path>rc/main/java/abra/AltContigGenerator.java <ide> package abra; <ide> <add>import htsjdk.samtools.AlignmentBlock; <ide> import htsjdk.samtools.CigarElement; <ide> import htsjdk.samtools.CigarOperator; <ide> import htsjdk.samtools.SAMRecord; <ide> <ide> public class AltContigGenerator { <ide> <del> private ...
JavaScript
apache-2.0
b078493caca7971d0bbbf37c92da6b597304ed1d
0
akiellor/selenium,virajs/selenium-1,akiellor/selenium,winhamwr/selenium,akiellor/selenium,virajs/selenium-1,akiellor/selenium,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,akiellor/selenium,akiellor/selenium,virajs/selenium-1,akiellor/selenium,winhamwr/selenium,akiellor/selenium,virajs/seleniu...
/* * Copyright 2005 Shinya Kasatani * * 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 agree...
ide/src/extension/content/format.js
/* * Copyright 2005 Shinya Kasatani * * 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 agree...
AdamGoucher - removing the two pluginized formats from the main ide git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@10233 07704840-8298-11de-bf8c-fd130f914ac9
ide/src/extension/content/format.js
AdamGoucher - removing the two pluginized formats from the main ide
<ide><path>de/src/extension/content/format.js <ide> new InternalFormat(options, "java-rc-junit4", "Java (JUnit 4) - Selenium RC", "java-rc-junit4.js", false), <ide> new InternalFormat(options, "java-rc-testng", "Java (TestNG) - Selenium RC", "java-rc-testng.js", false...
Java
apache-2.0
648387077694ba3a185dc1bc84b6a24270e244e8
0
b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl
/* * Copyright 2017-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
core/com.b2international.snowowl.identity.ldap/src/com/b2international/snowowl/identity/ldap/LdapIdentityProviderConfig.java
/* * Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
refactor!: remove rootDn and rootDnPassword support from ldap config
core/com.b2international.snowowl.identity.ldap/src/com/b2international/snowowl/identity/ldap/LdapIdentityProviderConfig.java
refactor!: remove rootDn and rootDnPassword support from ldap config
<ide><path>ore/com.b2international.snowowl.identity.ldap/src/com/b2international/snowowl/identity/ldap/LdapIdentityProviderConfig.java <ide> /* <del> * Copyright 2017-2020 B2i Healthcare Pte Ltd, http://b2i.sg <add> * Copyright 2017-2021 B2i Healthcare Pte Ltd, http://b2i.sg <ide> * <ide> * Licensed under the Apache...
Java
agpl-3.0
987a77cc5d32b79e42f98895ee7c5d8398dd1740
0
jaytaylor/sql-layer,relateiq/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,ngaut/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,ngaut/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,ngaut/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,rela...
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
src/main/java/com/foundationdb/sql/optimizer/rule/join_enum/GroupIndexGoal.java
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
Cannot remove group loop initial table if it's the only one, even if columns unused. Its rows determine cardinality. Fixes #1315
src/main/java/com/foundationdb/sql/optimizer/rule/join_enum/GroupIndexGoal.java
Cannot remove group loop initial table if it's the only one, even if columns unused. Its rows determine cardinality.
<ide><path>rc/main/java/com/foundationdb/sql/optimizer/rule/join_enum/GroupIndexGoal.java <ide> // The only table we can exclude is the one initially joined to, in the case <ide> // where all the data comes from elsewhere on that branch. <ide> Set<TableSource> required = new HashSet<>(requiredAf...
Java
mit
44df0ee55ee63605e5ac96aedd963d74d6c0315e
0
hazendaz/oshi,dbwiddis/oshi
/** * MIT License * * Copyright (c) 2010 - 2020 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software withou...
oshi-core/src/main/java/oshi/hardware/common/AbstractNetworkIF.java
/** * MIT License * * Copyright (c) 2010 - 2020 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software withou...
Outputs for IPv4 & subnetMask and IPv6 & prefix lengths combined (#1261)
oshi-core/src/main/java/oshi/hardware/common/AbstractNetworkIF.java
Outputs for IPv4 & subnetMask and IPv6 & prefix lengths combined (#1261)
<ide><path>shi-core/src/main/java/oshi/hardware/common/AbstractNetworkIF.java <ide> sb.append("Name: ").append(getName()).append(" ").append("(").append(getDisplayName()).append(")").append("\n"); <ide> sb.append(" MAC Address: ").append(getMacaddr()).append("\n"); <ide> sb.append(" MTU: ").ap...
Java
apache-2.0
1b89c6828994a354812317f2411842eacbe4590c
0
mglukhikh/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,xfournet/intellij-community,xfournet/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community...
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.structuralsearch; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.RangeMarker; import com.intellij.openapi.project.Project; i...
platform/structuralsearch/source/com/intellij/structuralsearch/DocumentBasedReplaceHandler.java
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.structuralsearch; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.RangeMarker; import com.intellij.openapi.project.Project; i...
SSR: simplification
platform/structuralsearch/source/com/intellij/structuralsearch/DocumentBasedReplaceHandler.java
SSR: simplification
<ide><path>latform/structuralsearch/source/com/intellij/structuralsearch/DocumentBasedReplaceHandler.java <ide> import com.intellij.openapi.editor.Document; <ide> import com.intellij.openapi.editor.RangeMarker; <ide> import com.intellij.openapi.project.Project; <del>import com.intellij.openapi.util.TextRange; <ide> imp...
Java
apache-2.0
410affeb5f7dea1a45aa71662009db13dc733820
0
idea4bsd/idea4bsd,FHannes/intellij-community,vvv1559/intellij-community,da1z/intellij-community,semonte/intellij-community,xfournet/intellij-community,ibinti/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,apixandru/intellij-community,asedunov/intellij-community,su...
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
java/java-impl/src/com/intellij/refactoring/copy/CopyClassesHandler.java
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
disable copy classes outside source roots
java/java-impl/src/com/intellij/refactoring/copy/CopyClassesHandler.java
disable copy classes outside source roots
<ide><path>ava/java-impl/src/com/intellij/refactoring/copy/CopyClassesHandler.java <ide> final PsiFile psiFile = classes.keySet().iterator().next(); <ide> defaultTargetDirectory = psiFile.getContainingDirectory(); <ide> LOG.assertTrue(defaultTargetDirectory != null, psiFile); <del> } else { <del> ...
Java
apache-2.0
5e114029b0ea8580aa5102cc68c1386aa36ba9ed
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
package org.apache.lucene.document; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Ve...
src/java/org/apache/lucene/document/NumericField.java
package org.apache.lucene.document; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Ve...
LUCENE-1857: Missed one valueOf conversion git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@820795 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/lucene/document/NumericField.java
LUCENE-1857: Missed one valueOf conversion
<ide><path>rc/java/org/apache/lucene/document/NumericField.java <ide> */ <ide> public NumericField setLongValue(final long value) { <ide> tokenStream.setLongValue(value); <del> fieldsData = new Long(value); <add> fieldsData = Long.valueOf(value); <ide> return this; <ide> } <ide>
Java
apache-2.0
1815f9e9dc878bc0d96880de3dd1ef122e72de7a
0
ConSol/sakuli,ConSol/sakuli,ConSol/sakuli,ConSol/sakuli,ConSol/sakuli,ConSol/sakuli
/* * Sakuli - Testing and Monitoring-Tool for Websites and common UIs. * * Copyright 2013 - 2014 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 * * ...
core/src/test/java/de/consol/sakuli/actions/screenbased/ScreenBasedSettingsSikuliLogSystemOutTest.java
/* * Sakuli - Testing and Monitoring-Tool for Websites and common UIs. * * Copyright 2013 - 2014 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 * * ...
renaming
core/src/test/java/de/consol/sakuli/actions/screenbased/ScreenBasedSettingsSikuliLogSystemOutTest.java
renaming
<ide><path>ore/src/test/java/de/consol/sakuli/actions/screenbased/ScreenBasedSettingsSikuliLogSystemOutTest.java <ide> System.out.println("LOG-FOLDER: " + logFile); <ide> <ide> //errors <del> Debug.error("SAKULI-ERROR-message"); <del> assertLastLine(logFile, "SAKULI-", LogLevel.INFO, "[er...
Java
agpl-3.0
ac1f6743a36719f0e2f90ce6a3b2305c9d444ba9
0
lp0/cursus-ui,lp0/cursus-core
/* cursus - Race series management program Copyright 2011 Simon Arlott This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
src/main/java/eu/lp0/cursus/db/data/AbstractEntity.java
/* cursus - Race series management program Copyright 2011 Simon Arlott This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
fix hashcode calculation on transient entities
src/main/java/eu/lp0/cursus/db/data/AbstractEntity.java
fix hashcode calculation on transient entities
<ide><path>rc/main/java/eu/lp0/cursus/db/data/AbstractEntity.java <ide> <ide> @Override <ide> public int hashCode() { <add> if (isTransient()) { <add> return super.hashCode(); <add> } <ide> return (int)(id ^ (id >>> 32)); <ide> } <ide>
Java
mit
45531f45f650009f58eb81d17d252da80b9d0399
0
fluorine/JavaProgrammingExercises
package com.github.fluorine.funclist; import java.math.BigInteger; import javarepl.REPL; import com.github.fluorine.funclist.FuncList; /** * More functional programming for sorting, appending and merging lists. * * @author fluorine@github.com * */ public class FuncList3 { public static void main(String[] arg...
FuncList3/src/com/github/fluorine/funclist/FuncList3.java
package com.github.fluorine.funclist; import javarepl.REPL; import com.github.fluorine.funclist.FuncList; /** * More functional programming for sorting, appending and merging lists. * * @author fluorine@github.com * */ public class FuncList3 { public static void main(String[] args) { // Get values System....
A new function to produce a linked list of Fibonacci values.
FuncList3/src/com/github/fluorine/funclist/FuncList3.java
A new function to produce a linked list of Fibonacci values.
<ide><path>uncList3/src/com/github/fluorine/funclist/FuncList3.java <ide> package com.github.fluorine.funclist; <add> <add>import java.math.BigInteger; <ide> <ide> import javarepl.REPL; <ide> import com.github.fluorine.funclist.FuncList; <ide> // into a new sorted list. Then display it. <ide> FuncList<Integer> mer...
JavaScript
mit
cba37c90d96f50adc3930b263a12eed8e9fbf453
0
math-foo/cloudpebble,pebble/cloudpebble,pebble/cloudpebble,thunsaker/cloudpebble,thunsaker/cloudpebble,thunsaker/cloudpebble,math-foo/cloudpebble,pebble/cloudpebble,thunsaker/cloudpebble,math-foo/cloudpebble,pebble/cloudpebble,math-foo/cloudpebble,pebble/cloudpebble
(function() { var PROXY_SERVER = LIBPEBBLE_PROXY; window.PebbleProxySocket = function(token) { var self = this; var mToken = token; var mSocket = null; var mConnected = false; var mIsConnected = false; var mIsAuthenticated = false; _.extend(this, Backbon...
ide/static/ide/js/libpebble/proxysocket.js
(function() { var PROXY_SERVER = LIBPEBBLE_PROXY; window.PebbleProxySocket = function(token) { var self = this; var mToken = token; var mSocket = null; var mConnected = false; var mIsConnected = false; var mIsAuthenticated = false; _.extend(this, Backbon...
Remove message dumps.
ide/static/ide/js/libpebble/proxysocket.js
Remove message dumps.
<ide><path>de/static/ide/js/libpebble/proxysocket.js <ide> }; <ide> <ide> this.send = function(data) { <del> console.log("Sending data:", data); <ide> mSocket.send(data); <ide> }; <ide> <ide> <ide> function handle_socket_message(e) { <ide> var data =...
Java
mit
0630c2a74a5b0d014de7714012697d74fc96217d
0
sunyifan112358/pvis
package com.logistics.pvis.event.mouseevent; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import processing.core.PConstants; public class MouseEventTest { processing.event.MouseEvent nativeEvent = null; @Before p...
src/main/com/logistics/pvis/event/mouseevent/MouseEventTest.java
package com.logistics.pvis.event.mouseevent; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import processing.core.PConstants; public class MouseEventTest { processing.event.MouseEvent nativeEvent = null; @Before p...
Error fix
src/main/com/logistics/pvis/event/mouseevent/MouseEventTest.java
Error fix
<ide><path>rc/main/com/logistics/pvis/event/mouseevent/MouseEventTest.java <ide> MouseEvent event = new MouseEvent(nativeEvent); <ide> assertEquals(MouseEventAction.CLICK, event.getMouseEventAction()); <ide> assertEquals(MouseButton.LEFT, event.getMouseButton()); <del> assertEquals(0, event.getMousePosition().ge...
Java
apache-2.0
c274c0d962254c532af7b2087e985f4047d1197d
0
sutaakar/drools,rajashekharmunthakewill/drools,romartin/drools,jomarko/drools,liupugong/drools,mrietveld/drools,kedzie/drools-android,liupugong/drools,pwachira/droolsexamples,ChallenHB/drools,jomarko/drools,prabasn/drools,iambic69/drools,prabasn/drools,ngs-mtech/drools,prabasn/drools,HHzzhz/drools,romartin/drools,sotty...
/* * Copyright 2010 JBoss 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 i...
drools-core/src/main/java/org/drools/io/impl/ResourceChangeScannerImpl.java
/* * Copyright 2010 JBoss 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 i...
DROOLS-65,BZ917787: fixing conditional to allow cache update altough client is restarted (cherry picked from commit 133058fd496fe002781ce533145a108520b6933d) Conflicts: drools-core/src/main/java/org/drools/io/impl/ResourceChangeScannerImpl.java
drools-core/src/main/java/org/drools/io/impl/ResourceChangeScannerImpl.java
DROOLS-65,BZ917787: fixing conditional to allow cache update altough client is restarted (cherry picked from commit 133058fd496fe002781ce533145a108520b6933d)
<ide><path>rools-core/src/main/java/org/drools/io/impl/ResourceChangeScannerImpl.java <ide> } <ide> changeSet.getResourcesRemoved().add( resource ); <ide> } <del> } else if ( lastRead < lastModified && lastRead >= 0 ) { <...
JavaScript
agpl-3.0
116dbbf5326aed20589bf0c72b06cb1bd6742b2e
0
OpenLMIS/open-lmis,kelvinmbwilo/vims,OpenLMIS/open-lmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis
/* * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later. * * T...
modules/openlmis-web/src/main/webapp/public/js/admin/equipment/inventory/controller/equipment-inventory-controller.js
/* * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later. * * T...
Fix jsHint error
modules/openlmis-web/src/main/webapp/public/js/admin/equipment/inventory/controller/equipment-inventory-controller.js
Fix jsHint error
<ide><path>odules/openlmis-web/src/main/webapp/public/js/admin/equipment/inventory/controller/equipment-inventory-controller.js <ide> <ide> $scope.getAge = function (yearOfInstallation) { <ide> return (new Date().getFullYear()) - yearOfInstallation; <del> } <add> }; <ide> <ide> }
Java
mit
98cae612055b822708e6e4ca75a437062081e455
0
fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg
package ua.com.fielden.platform.dao; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.fetchAndInstrument; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.from; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.select; import java.util.Colle...
platform-pojo-bl/src/main/java/ua/com/fielden/platform/dao/AbstractFunctionalEntityProducerForCollectionModification.java
package ua.com.fielden.platform.dao; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.fetchAndInstrument; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.from; import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.select; import java.util.Colle...
#334 Added some initial changes to base producer of 'collection modification func entity' to support: 1) better customisation of master func entity re-retrieval 2) support non-persistent types for func entity.
platform-pojo-bl/src/main/java/ua/com/fielden/platform/dao/AbstractFunctionalEntityProducerForCollectionModification.java
#334 Added some initial changes to base producer of 'collection modification func entity' to support: 1) better customisation of master func entity re-retrieval 2) support non-persistent types for func entity.
<ide><path>latform-pojo-bl/src/main/java/ua/com/fielden/platform/dao/AbstractFunctionalEntityProducerForCollectionModification.java <ide> import java.util.Collection; <ide> import java.util.HashMap; <ide> import java.util.Map; <add>import java.util.Random; <ide> import java.util.function.Function; <ide> <ide> import c...
Java
mit
301662d11ff2dda9df845a28286c57f0a0a2f914
0
joshua-decoder/thrax,tdomhan/thrax,tdomhan/thrax,jweese/thrax,tdomhan/thrax,joshua-decoder/thrax,jweese/thrax,jweese/thrax,joshua-decoder/thrax,joshua-decoder/thrax
package edu.jhu.thrax.hadoop.jobs; import edu.jhu.thrax.hadoop.features.mapred.*; public class FeatureJobFactory { public static MapReduceFeature get(String name) { if (name.equals("e2fphrase")) return new SourcePhraseGivenTargetFeature(); else if (name.equals("f2ephrase")) return new TargetPhr...
src/edu/jhu/thrax/hadoop/jobs/FeatureJobFactory.java
package edu.jhu.thrax.hadoop.jobs; import edu.jhu.thrax.hadoop.features.mapred.*; public class FeatureJobFactory { public static MapReduceFeature get(String name) { if (name.equals("e2fphrase")) return new SourcePhraseGivenTargetFeature(); else if (name.equals("f2ephrase")) return new TargetPhraseGivenSou...
Added new features to job factory.
src/edu/jhu/thrax/hadoop/jobs/FeatureJobFactory.java
Added new features to job factory.
<ide><path>rc/edu/jhu/thrax/hadoop/jobs/FeatureJobFactory.java <ide> <ide> public class FeatureJobFactory { <ide> <del> public static MapReduceFeature get(String name) { <del> if (name.equals("e2fphrase")) <del> return new SourcePhraseGivenTargetFeature(); <del> else if (name.equals("f2ephrase")) <del> return n...
Java
apache-2.0
error: pathspec 'enhanced/classlib/trunk/modules/tools/src/main/java/com/sun/tools/javac/Main.java' did not match any file(s) known to git
363078ef25bded7d9f82d8ce3a29dec8d10463e6
1
freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
enhanced/classlib/trunk/modules/tools/src/main/java/com/sun/tools/javac/Main.java
Mini compatibility adapter for tools.jar compiler entry point. svn path=/harmony/; revision=492114
enhanced/classlib/trunk/modules/tools/src/main/java/com/sun/tools/javac/Main.java
Mini compatibility adapter for tools.jar compiler entry point.
<ide><path>nhanced/classlib/trunk/modules/tools/src/main/java/com/sun/tools/javac/Main.java <add>/* <add> * Licensed to the Apache Software Foundation (ASF) under one or more <add> * contributor license agreements. See the NOTICE file distributed with <add> * this work for additional information regarding copyright o...
Java
apache-2.0
38cea9786bc0d5b6fb9d657d6aa6e77d9bee6951
0
okornev/oneops,lkhusid/oneops,gauravlall/oneops,gauravlall/oneops,gauravlall/oneops,okornev/oneops,okornev/oneops,lkhusid/oneops,gauravlall/oneops,okornev/oneops,okornev/oneops,lkhusid/oneops,lkhusid/oneops,gauravlall/oneops,okornev/oneops,gauravlall/oneops,lkhusid/oneops,lkhusid/oneops
/******************************************************************************* * * Copyright 2015 Walmart, 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 * * ...
src/main/java/com/oneops/cms/dj/service/CmsDpmtProcessor.java
/******************************************************************************* * * Copyright 2015 Walmart, 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 * * ...
update function fix
src/main/java/com/oneops/cms/dj/service/CmsDpmtProcessor.java
update function fix
<ide><path>rc/main/java/com/oneops/cms/dj/service/CmsDpmtProcessor.java <ide> *******************************************************************************/ <ide> package com.oneops.cms.dj.service; <ide> <add>import com.google.gson.Gson; <add>import com.oneops.cms.cm.domain.CmsCI; <add>import com.oneops.cms.cm.doma...
Java
apache-2.0
61ab3209b230cb2171945cdf8326a49d942cabd7
0
fengyie007/dubbo,bpzhang/dubbo,wuwen5/dubbo,yuyijq/dubbo,qtvbwfn/dubbo,fengyie007/dubbo,qtvbwfn/dubbo,bpzhang/dubbo,yuyijq/dubbo,qtvbwfn/dubbo,qtvbwfn/dubbo,wuwen5/dubbo,lovepoem/dubbo,lovepoem/dubbo,lovepoem/dubbo,wuwen5/dubbo,fengyie007/dubbo,bpzhang/dubbo
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
dubbo-common/src/main/java/org/apache/dubbo/common/config/Configuration.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Delete dead code (#4189)
dubbo-common/src/main/java/org/apache/dubbo/common/config/Configuration.java
Delete dead code (#4189)
<ide><path>ubbo-common/src/main/java/org/apache/dubbo/common/config/Configuration.java <ide> return cls.cast(value); <ide> } <ide> <del> if (String.class.equals(cls)) { <del> return cls.cast(value); <del> } <del> <ide> if (Boolean.class.equals(cls) || Boolean.TYPE.e...
Java
epl-1.0
4e59d4d007a122419e505946595ebb7193fe0792
0
julianapaz/LP2-5M
package com.senac.algoritmos; import java.util.Scanner; import static java.lang.System.*; import com.senac.estruturas.PilhaCheia; import com.senac.estruturas.PilhaOperador; import com.senac.estruturas.PilhaOperando; import com.senac.estruturas.PilhaVazia; public class AvaliadorRPN { public static double avalia(Strin...
TrabalhoPilha/src/com/senac/algoritmos/AvaliadorRPN.java
package com.senac.algoritmos; import java.util.Scanner; import com.senac.estruturas.PilhaCheia; import com.senac.estruturas.PilhaOperador; import com.senac.estruturas.PilhaOperando; import com.senac.estruturas.PilhaVazia; public class AvaliadorRPN { public static double avalia(String expressao) throws PilhaCheia, ...
Update AvaliadorRPN.java
TrabalhoPilha/src/com/senac/algoritmos/AvaliadorRPN.java
Update AvaliadorRPN.java
<ide><path>rabalhoPilha/src/com/senac/algoritmos/AvaliadorRPN.java <ide> package com.senac.algoritmos; <ide> <ide> import java.util.Scanner; <del> <add>import static java.lang.System.*; <ide> import com.senac.estruturas.PilhaCheia; <ide> import com.senac.estruturas.PilhaOperador; <ide> import com.senac.estruturas.Pilh...
Java
apache-2.0
2a983d8efc511251b6e3eed4f0514a46e72230f0
0
hakan42/sync-for-xing
package com.gurkensalat.android.xingsync; import java.util.List; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.provider.Settings; import android.view.View; import android.widget...
xing-sync-app/src/main/java/com/gurkensalat/android/xingsync/HelloAndroidActivity.java
package com.gurkensalat.android.xingsync; import java.util.List; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.provider.Settings; import android.view.View; import android.widget...
Always jump to Accounts preferences
xing-sync-app/src/main/java/com/gurkensalat/android/xingsync/HelloAndroidActivity.java
Always jump to Accounts preferences
<ide><path>ing-sync-app/src/main/java/com/gurkensalat/android/xingsync/HelloAndroidActivity.java <ide> intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); <ide> <ide> // To show only our own accounts <del> intent.putExtra(Settings.EXTRA_AUTHORITIES, new String[] { getResources().getString(R.string.ACC...
JavaScript
bsd-3-clause
2c4966b50d5a923607d6860f015c2a79822a353c
0
LocalData/localdata-dashboard,LocalData/localdata-dashboard
/*jslint nomen: true */ /*globals define: true */ define([ 'jquery', 'lib/lodash', 'backbone', 'moment', 'settings', 'api' ], function($, _, Backbone, moment, settings, api) { 'use strict'; var Responses = {}; Responses.Model = Backbone.Model.extend({ defaults: { responses: {} }, ...
src/js/models/responses.js
/*jslint nomen: true */ /*globals define: true */ define([ 'jquery', 'lib/lodash', 'backbone', 'moment', 'settings', 'api' ], function($, _, Backbone, moment, settings, api) { 'use strict'; var Responses = {}; Responses.Model = Backbone.Model.extend({ defaults: { responses: {} }, ...
Add date to year display
src/js/models/responses.js
Add date to year display
<ide><path>rc/js/models/responses.js <ide> // This is the backbone implementation, which does clone attributes. <ide> // We've added the date humanization. <ide> var json = _.clone(this.attributes); <del> json.createdHumanized = moment(json.created, "YYYY-MM-DDThh:mm:ss.SSSZ").format("MMM Do h:mm...
Java
bsd-2-clause
053e3a42389f40ac8780cdff73b23720ad6d0dc0
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
/* * Copyright (c) 2003-2005 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
src/com/jme/renderer/lwjgl/LWJGLRenderer.java
/* * Copyright (c) 2003-2005 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
MINOR: Added support for compiled arrays. git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@2682 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
src/com/jme/renderer/lwjgl/LWJGLRenderer.java
MINOR: Added support for compiled arrays.
<ide><path>rc/com/jme/renderer/lwjgl/LWJGLRenderer.java <ide> import org.lwjgl.opengl.ContextCapabilities; <ide> import org.lwjgl.opengl.Display; <ide> import org.lwjgl.opengl.DisplayMode; <add>import org.lwjgl.opengl.EXTCompiledVertexArray; <ide> import org.lwjgl.opengl.GL11; <ide> import org.lwjgl.opengl.GL12; <ide> ...
Java
apache-2.0
749c7ee1c8f6fcfefd8bacce37d9abe3025f6b8a
0
nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
core/src/main/java/org/yawni/wn/WordSense.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
renamed some package private stuff for clarity (flags -> adjPositionFlags)
core/src/main/java/org/yawni/wn/WordSense.java
renamed some package private stuff for clarity (flags -> adjPositionFlags)
<ide><path>ore/src/main/java/org/yawni/wn/WordSense.java <ide> private short senseNumber; <ide> private short sensesTaggedFrequency; <ide> // only needs to be a byte since there are only 3 bits of flag values <del> private final byte flags; <add> private final byte adjPositionFlags; <ide> <ide> // <ide> //...
Java
apache-2.0
931b55ee7e30b866d7226fd80ba550b16e8be3c0
0
splunk/splunk-shuttl,splunk/splunk-shuttl,splunk/splunk-shuttl,splunk/splunk-shuttl,splunk/splunk-shuttl,splunk/splunk-shuttl
package com.splunk.shep.mapreduce.lib.rest; import static org.testng.AssertJUnit.assertFalse; import static org.testng.AssertJUnit.assertTrue; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; ...
test/java/com/splunk/shep/mapreduce/lib/rest/WordCountTest.java
package com.splunk.shep.mapreduce.lib.rest; import java.io.File; import java.io.IOException; import java.util.Iterator; import java.util.StringTokenizer; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import ...
Added Splunk verification to WordCountTest. Refactored a lot of the code too.
test/java/com/splunk/shep/mapreduce/lib/rest/WordCountTest.java
Added Splunk verification to WordCountTest. Refactored a lot of the code too.
<ide><path>est/java/com/splunk/shep/mapreduce/lib/rest/WordCountTest.java <ide> package com.splunk.shep.mapreduce.lib.rest; <add> <add>import static org.testng.AssertJUnit.assertFalse; <add>import static org.testng.AssertJUnit.assertTrue; <ide> <ide> import java.io.File; <ide> import java.io.IOException; <add>import j...
Java
apache-2.0
error: pathspec 'routelandia/src/main/java/edu/pdx/its/portal/routelandia/DownloadListofHighway.java' did not match any file(s) known to git
db715776035a925b71a3a90b293a48728645e809
1
Routelandia/routelandia-android,Routelandia/routelandia-android
/* 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 distributed u...
routelandia/src/main/java/edu/pdx/its/portal/routelandia/DownloadListofHighway.java
add class to create thread in order to download the list of json from API
routelandia/src/main/java/edu/pdx/its/portal/routelandia/DownloadListofHighway.java
add class to create thread in order to download the list of json from API
<ide><path>outelandia/src/main/java/edu/pdx/its/portal/routelandia/DownloadListofHighway.java <add>/* <add> Licensed under the Apache License, Version 2.0 (the "License"); <add> you may not use this file except in compliance with the License. <add> You may obtain a copy of the License at <add> <add> http://...
Java
mit
204892a509a179bc9858eec47b6f54e12c1c2ef6
0
elimu-ai/webapp,literacyapp-org/literacyapp-web,literacyapp-org/literacyapp-web,elimu-ai/webapp,elimu-ai/webapp,literacyapp-org/literacyapp-web,literacyapp-org/literacyapp-web,elimu-ai/webapp
package ai.elimu.rest.v2.crowdsource; import ai.elimu.dao.ContributorDao; import ai.elimu.dao.WordContributionEventDao; import ai.elimu.dao.WordDao; import ai.elimu.dao.WordPeerReviewEventDao; import ai.elimu.model.content.Word; import ai.elimu.model.contributor.*; import ai.elimu.model.enums.PeerReviewStatus; import ...
src/main/java/ai/elimu/rest/v2/crowdsource/WordPeerReviewsRestController.java
package ai.elimu.rest.v2.crowdsource; import ai.elimu.dao.ContributorDao; import ai.elimu.dao.WordContributionEventDao; import ai.elimu.dao.WordDao; import ai.elimu.dao.WordPeerReviewEventDao; import ai.elimu.model.content.Word; import ai.elimu.model.contributor.*; import ai.elimu.model.v2.enums.PeerReviewStatus; impo...
fix issue with importing PeerReviewStatus
src/main/java/ai/elimu/rest/v2/crowdsource/WordPeerReviewsRestController.java
fix issue with importing PeerReviewStatus
<ide><path>rc/main/java/ai/elimu/rest/v2/crowdsource/WordPeerReviewsRestController.java <ide> import ai.elimu.dao.WordPeerReviewEventDao; <ide> import ai.elimu.model.content.Word; <ide> import ai.elimu.model.contributor.*; <del>import ai.elimu.model.v2.enums.PeerReviewStatus; <add>import ai.elimu.model.enums.PeerReview...
Java
agpl-3.0
2b93f2eab09ba41c515f805fbf03689b7d365f05
0
USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis
/* * * * Copyright © 2013 VillageReach. All Rights Reserved. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * * * * If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ package org.openlmis.rnr.domain; import lo...
modules/requisition/src/main/java/org/openlmis/rnr/domain/RnrLineItem.java
/* * * * Copyright © 2013 VillageReach. All Rights Reserved. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * * * * If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ package org.openlmis.rnr.domain; import lo...
Fix rnr submission when price schedule is not set for a product - When price schedule is not set correctly for a product, rnr submission fails. This commit fixes this issue.
modules/requisition/src/main/java/org/openlmis/rnr/domain/RnrLineItem.java
Fix rnr submission when price schedule is not set for a product - When price schedule is not set correctly for a product, rnr submission fails. This commit fixes this issue.
<ide><path>odules/requisition/src/main/java/org/openlmis/rnr/domain/RnrLineItem.java <ide> } <ide> <ide> public Money calculateCost() { <del> if (packsToShip != null) { <add> if (packsToShip != null && price != null) { <ide> return price.multiply(valueOf(packsToShip)); <ide> } <ide> return new...
Java
apache-2.0
5dd2d24854c70ebc3e2f3e41320b26f9dfab5cfd
0
xnx3/iw,xnx3/iw,xnx3/iw
package com.xnx3.j2ee.servlet; import java.io.File; import java.util.List; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import org.springframework.context.ApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils...
src/com/xnx3/j2ee/servlet/InitServlet.java
package com.xnx3.j2ee.servlet; import java.io.File; import java.util.List; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import org.springframework.context.ApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils...
xnx3 开启应用时的缓存初始化生成
src/com/xnx3/j2ee/servlet/InitServlet.java
xnx3
<ide><path>rc/com/xnx3/j2ee/servlet/InitServlet.java <ide> import com.xnx3.j2ee.entity.BaseEntity; <ide> import com.xnx3.j2ee.entity.PostClass; <ide> import com.xnx3.j2ee.generateCache.Bbs; <add>import com.xnx3.j2ee.generateCache.Role; <add>import com.xnx3.j2ee.generateCache.User; <ide> import com.xnx3.j2ee.entity.Log;...
Java
apache-2.0
08b67c89a49082f55c540681ed8923a54e53b3dd
0
AI-comp/JavaChallenge2015,AI-comp/JavaChallenge2015,AI-comp/JavaChallenge2015
package net.javachallenge; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; public class Bookmaker { private static boolean DEBUG = false; private static final int PLAYERS_NUM = 4; private static final int MAP_WIDTH = 40; private static final int BLOCK_WIDTH = 5; pri...
src/main/java/net/javachallenge/Bookmaker.java
package net.javachallenge; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; public class Bookmaker { private static boolean DEBUG = false; private static final int PLAYERS_NUM = 4; private static final int MAP_WIDTH = 40; private static final int BLOCK_WIDTH = 5; pri...
cur++ 忘れてた
src/main/java/net/javachallenge/Bookmaker.java
cur++ 忘れてた
<ide><path>rc/main/java/net/javachallenge/Bookmaker.java <ide> if (cur == 4) { <ide> continue; <ide> } <add> <ide> execAICommands[cur] = args[++i]; <ide> if (!args[++i].equals("-ai")) { <ide> pauseAICommands[cur] = args[i]; <ide> if (!args[++i].equals("-ai")) { <ide> unpauseAICommands[cur] =...
JavaScript
apache-2.0
65d1c5262f7007c2fbc04f42f07ae10f315453b9
0
YaManicKill/flairhq,Kirzi/flairhq,YaManicKill/flairhq,Kirzi/flairhq,robertdyjas/flairhq,pokemontrades/flairhq,pokemontrades/flairhq,robertdyjas/flairhq
/*! Socket.IO.min.js build:0.9.16, production. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */ var io="undefined"==typeof module?{}:module.exports;(function(){(function(a,b){var c=a;c.version="0.9.16",c.protocol=1,c.transports=[],c.j=[],c.sockets={},c.connect=function(a,d){var e=c.util.parseUri(a),f,g...
assets/js/dependencies/sails.io.js
/*! Socket.IO.min.js build:0.9.16, production. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */ var io="undefined"==typeof module?{}:module.exports;(function(){(function(a,b){var c=a;c.version="0.9.16",c.protocol=1,c.transports=[],c.j=[],c.sockets={},c.connect=function(a,d){var e=c.util.parseUri(a),f,g...
I managed to remove the fallback from sails.io
assets/js/dependencies/sails.io.js
I managed to remove the fallback from sails.io
<ide><path>ssets/js/dependencies/sails.io.js <ide> }); <ide> } <ide> }); <del> <add> io.socket.on('connect_failed', function() { <add> io.transports = ['xhr-polling']; <add> io.sails.useFallback = true; <add> goAheadAndActuallyConnect(); <add> }); <...
Java
isc
8c98a65b6810d8b1f36212dbb012d7ce31374f75
0
gwenn/sqlitejdbc,gwenn/sqlitejdbc
package test; import java.sql.*; import java.util.StringTokenizer; import org.junit.*; import static org.junit.Assert.*; /** These tests are designed to stress PreparedStatements on memory dbs. */ public class PrepStmtTest { static byte[] b1 = new byte[] { 1,2,7,4,2,6,2,8,5,2,3,1,5,3,6,3,3,6,2,5 }; static byt...
src/test/PrepStmtTest.java
package test; import java.sql.*; import java.util.StringTokenizer; import org.junit.*; import static org.junit.Assert.*; /** These tests are designed to stress PreparedStatements on memory dbs. */ public class PrepStmtTest { static byte[] b1 = new byte[] { 1,2,7,4,2,6,2,8,5,2,3,1,5,3,6,3,3,6,2,5 }; static byt...
temporarily disable a test check that didn't make sense and has been caught by 3.4.0 darcs-hash:20070619043629-0c629-fcf0d6bdf5e11672400d0b1ec0728d9d1cebb38c.gz
src/test/PrepStmtTest.java
temporarily disable a test check that didn't make sense and has been caught by 3.4.0
<ide><path>rc/test/PrepStmtTest.java <ide> assertEquals(meta.getColumnName(1), "col1"); <ide> assertEquals(meta.getColumnName(2), "col2"); <ide> assertEquals(meta.getColumnName(3), "delta"); <del> assertEquals(meta.getColumnType(1), Types.INTEGER); <add> /*assertEquals(meta.getColu...
Java
epl-1.0
3ac92e3b4a4db3c468485ca2b2cdb44900ae001c
0
R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2015] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Cod...
installation-manager-core/src/main/java/com/codenvy/im/node/NodeManager.java
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2015] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Cod...
CDEC-117: fixed error with recognising if puppet agent has already installed on adding node
installation-manager-core/src/main/java/com/codenvy/im/node/NodeManager.java
CDEC-117: fixed error with recognising if puppet agent has already installed on adding node
<ide><path>nstallation-manager-core/src/main/java/com/codenvy/im/node/NodeManager.java <ide> <ide> return result != null <ide> && result.contains("Loaded: loaded") <del> && result.contains("Active: active (running)"); <add> && result.contains("(running)"); <ide> }...
Java
apache-2.0
6cb445015b1b8e23cc649d7bed540f2a2eed1d2e
0
cshaxu/voldemort,cshaxu/voldemort,jwlent55/voldemort,jwlent55/voldemort,mabh/voldemort,dallasmarlow/voldemort,LeoYao/voldemort,rickbw/voldemort,jeffpc/voldemort,LeoYao/voldemort,dallasmarlow/voldemort,birendraa/voldemort,null-exception/voldemort,jalkjaer/voldemort,FelixGV/voldemort,gnb/voldemort,jalkjaer/voldemort,csha...
/* * Copyright 2008-2010 LinkedIn, 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 agre...
src/java/voldemort/client/CachingStoreClientFactory.java
/* * Copyright 2008-2010 LinkedIn, 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 agre...
remove typo causing infinite recursion
src/java/voldemort/client/CachingStoreClientFactory.java
remove typo causing infinite recursion
<ide><path>rc/java/voldemort/client/CachingStoreClientFactory.java <ide> <ide> public <K, V, T> Store<K, V, T> getRawStore(String storeName, <ide> InconsistencyResolver<Versioned<V>> resolver) { <del> return getRawStore(storeName, resolver); <add> retur...
Java
epl-1.0
9049d9696fceda0665683d3d486d482412c25162
0
ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display...
/******************************************************************************* * Copyright (c) 2015 Oak Ridge National Laboratory. * 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, a...
org.csstudio.display.builder.runtime/src/org/csstudio/display/builder/runtime/RuntimeUtil.java
/******************************************************************************* * Copyright (c) 2015 Oak Ridge National Laboratory. * 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, a...
Fix Findbugs warning
org.csstudio.display.builder.runtime/src/org/csstudio/display/builder/runtime/RuntimeUtil.java
Fix Findbugs warning
<ide><path>rg.csstudio.display.builder.runtime/src/org/csstudio/display/builder/runtime/RuntimeUtil.java <ide> public static ScriptSupport getScriptSupport(final Widget widget) throws Exception <ide> { <ide> final DisplayModel model = getTopDisplayModel(widget); <del> synchronized (Widget.USER_DA...