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
JavaScript
agpl-3.0
e420c6608d67b1aa23a07ccf71fc5bb068035acc
0
liveblog/superdesk,liveblog/superdesk,liveblog/superdesk,liveblog/superdesk,liveblog/superdesk
(function() { 'use strict'; angular.module('superdesk.menu', ['superdesk.menu.notifications', 'superdesk.asset']) // set flags for other directives .directive('sdSuperdeskView', ['asset', function(asset) { return { templateUrl: asset.templateUrl('superdesk/menu/view...
client/app/scripts/superdesk/menu/menu.js
(function() { 'use strict'; angular.module('superdesk.menu', ['superdesk.menu.notifications', 'superdesk.asset']) // set flags for other directives .directive('sdSuperdeskView', ['asset', function(asset) { return { templateUrl: asset.templateUrl('superdesk/menu/view...
Menu.js: import lodash before using it
client/app/scripts/superdesk/menu/menu.js
Menu.js: import lodash before using it
<ide><path>lient/app/scripts/superdesk/menu/menu.js <ide> }; <ide> }]) <ide> <del> .directive('sdMenuWrapper', ['$route', 'superdesk', 'betaService', 'userNotifications', 'asset', <del> function($route, superdesk, betaService, userNotifications, asset) { <add> .directive('sdMen...
Java
bsd-3-clause
8511255a9c0dd9c905c67183c9ea144e1defa205
0
lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon
/* * $Id: NodeManagerImpl.java,v 1.158 2003-11-19 04:16:41 eaalto Exp $ */ /* Copyright (c) 2000-2003 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
src/org/lockss/state/NodeManagerImpl.java
/* * $Id: NodeManagerImpl.java,v 1.157 2003-10-16 00:10:10 eaalto Exp $ */ /* Copyright (c) 2000-2003 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "So...
Fixed bug which caused recalling an aborted top-level poll to take two treewalks if the daemon hadn't called it. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@2159 4f837ed2-42f5-46e7-a7a5-fa17313484d4
src/org/lockss/state/NodeManagerImpl.java
<ide><path>rc/org/lockss/state/NodeManagerImpl.java <ide> /* <del> * $Id: NodeManagerImpl.java,v 1.157 2003-10-16 00:10:10 eaalto Exp $ <add> * $Id: NodeManagerImpl.java,v 1.158 2003-11-19 04:16:41 eaalto Exp $ <ide> */ <ide> <ide> /* <ide> " recalling."); <ide> } <ide> ...
Java
apache-2.0
dcf9ac5262ab7cc3a28b6ce814794a093867d284
0
ibinti/intellij-community,tmpgit/intellij-community,adedayo/intellij-community,kdwink/intellij-community,supersven/intellij-community,pwoodworth/intellij-community,robovm/robovm-studio,ivan-fedorov/intellij-community,fnouama/intellij-community,clumsy/intellij-community,jexp/idea2,robovm/robovm-studio,diorcety/intellij-...
package com.intellij.psi.impl; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.UserDataHolderEx; import com.intellij.psi.*; import com.intellij.psi.impl.source.HierarchicalMethodSignatureImpl; import com.intellij.psi.search.searches.DeepestSuperMethodsSearch; import com.intellij.psi.search.searc...
source/com/intellij/psi/impl/PsiSuperMethodImplUtil.java
package com.intellij.psi.impl; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.UserDataHolderEx; import com.intellij.psi.*; import com.intellij.psi.impl.source.HierarchicalMethodSignatureImpl; import com.intellij.psi.search.searches.DeepestSuperMethodsSearch; import com.intellij.psi.search.searc...
[rev max] drop super methods cache more rarely
source/com/intellij/psi/impl/PsiSuperMethodImplUtil.java
[rev max] drop super methods cache more rarely
<ide><path>ource/com/intellij/psi/impl/PsiSuperMethodImplUtil.java <ide> assert result != null; <ide> <ide> <del> return new Result<Map<MethodSignature, HierarchicalMethodSignature>>(result, PsiModificationTracker.OUT_OF_CODE_BLOCK_MODIFICATION_COUNT); <add> return new Result<Map<MethodSignature, Hier...
Java
epl-1.0
b62f9794c599bcfc322882b89e4e744e0a55af79
0
dannil/SimpleTextEditor
package org.dannil.simpletexteditor; import javax.swing.ImageIcon; import org.dannil.simpletexteditor.controller.ApplicationController; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.ToolBar; import org.eclipse.swt.SW...
src/main/java/org/dannil/simpletexteditor/ApplicationView.java
package org.dannil.simpletexteditor; import javax.swing.ImageIcon; import org.dannil.simpletexteditor.controller.ApplicationController; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.ToolBar; import org.eclipse.swt.SW...
Added testing for image
src/main/java/org/dannil/simpletexteditor/ApplicationView.java
Added testing for image
<ide><path>rc/main/java/org/dannil/simpletexteditor/ApplicationView.java <ide> import org.eclipse.swt.widgets.Menu; <ide> import org.eclipse.swt.widgets.MenuItem; <ide> import org.eclipse.swt.widgets.Text; <add>import org.eclipse.swt.layout.FillLayout; <add>import org.eclipse.swt.widgets.Label; <ide> <ide> public fina...
Java
apache-2.0
57c6bf16eec91441b328268d082ec806c57ff44b
0
akoskm/jbpm,bxf12315/jbpm,OnePaaS/jbpm,jgoldsmith613/jbpm,selrahal/jbpm,ibek/jbpm,Salaboy/jbpm,rabbitcount/jbpm,bxf12315/jbpm,Salaboy/jbpm,Aaron2000/jbpm,karthikprabhu17/jbpm,mrietveld/jbpm,rabbitcount/jbpm,Multi-Support/jbpm,ibek/jbpm,romartin/jbpm,psakar/jbpm,domhanak/jbpm,akoskm/jbpm,jesuino/jbpm,livthomas/jbpm,MetS...
/** * 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 ...
jbpm-flow/src/main/java/org/jbpm/process/instance/timer/TimerManager.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 ...
BZ820309 - Overdue timers are not triggered on session initialization
jbpm-flow/src/main/java/org/jbpm/process/instance/timer/TimerManager.java
BZ820309 - Overdue timers are not triggered on session initialization
<ide><path>bpm-flow/src/main/java/org/jbpm/process/instance/timer/TimerManager.java <ide> import java.util.Date; <ide> import java.util.Iterator; <ide> import java.util.Map; <add>import java.util.concurrent.Callable; <ide> import java.util.concurrent.ConcurrentHashMap; <ide> <ide> import org.drools.common.InternalKnow...
Java
apache-2.0
e1d1841334e146abdafb5f5d84e75287975df020
0
google/mug,google/mug
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
core/src/main/java/com/google/mu/util/graph/ShortestPath.java
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
remove whitespace before ...
core/src/main/java/com/google/mu/util/graph/ShortestPath.java
remove whitespace before ...
<ide><path>ore/src/main/java/com/google/mu/util/graph/ShortestPath.java <ide> * in the unweighted graph structure as observed by {@code findSuccessors}. <ide> * <ide> * <p>These paths are in ascending order of cycle length. For example, if the graph has two <del> * distinct cycles: {@code A -> B -> A -> B ->...
Java
mit
3ef86c268dbe9c3372df436d2bb371d8ac970754
0
GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust
package org.gluu.oxtrust.service.uma; import java.io.Serializable; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.List; import java.util.concurrent.locks.ReentrantLock; import javax.inject.Inject; import javax.ws.rs.container.Reso...
server/src/main/java/org/gluu/oxtrust/service/uma/BaseUmaProtectionService.java
package org.gluu.oxtrust.service.uma; import java.io.Serializable; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.List; import java.util.concurrent.locks.ReentrantLock; import javax.inject.Inject; import javax.ws.rs.container.Reso...
#1605
server/src/main/java/org/gluu/oxtrust/service/uma/BaseUmaProtectionService.java
#1605
<ide><path>erver/src/main/java/org/gluu/oxtrust/service/uma/BaseUmaProtectionService.java <ide> } <ide> <ide> Pair<Boolean, Response> rptTokenValidationResult; <del> if (scopes.isEmpty()) { <add> if (!scopes.isEmpty()) { <ide> rptTokenValidationResult = umaPermissionService.valid...
Java
mit
93c91bc889d1d4e086dca806005924be2fbf2ea6
0
archimatetool/archi,archimatetool/archi,archimatetool/archi
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package uk.ac.bolton.archimate.editor.preferences; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.ecl...
uk.ac.bolton.archimate.editor/src/uk/ac/bolton/archimate/editor/preferences/PreferenceInitializer.java
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package uk.ac.bolton.archimate.editor.preferences; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.ecl...
SHOW_FILL_COLORS_IN_GUI preference default is false
uk.ac.bolton.archimate.editor/src/uk/ac/bolton/archimate/editor/preferences/PreferenceInitializer.java
SHOW_FILL_COLORS_IN_GUI preference default is false
<ide><path>k.ac.bolton.archimate.editor/src/uk/ac/bolton/archimate/editor/preferences/PreferenceInitializer.java <ide> store.setDefault(EDIT_NAME_ON_NEW_OBJECT, true); <ide> <ide> store.setDefault(SAVE_USER_DEFAULT_FILL_COLOR, false); <del> store.setDefault(SHOW_FILL_COLORS_IN_GUI, true)...
Java
apache-2.0
187bcfda4d33b71c0c79c8d414022c9d403f96f7
0
ekoshkin/teamcity-kubernetes-plugin,ekoshkin/teamcity-kubernetes-plugin
package jetbrains.buildServer.helm; import jetbrains.buildServer.RunBuildException; import jetbrains.buildServer.agent.runner.BuildServiceAdapter; import jetbrains.buildServer.agent.runner.ProgramCommandLine; import jetbrains.buildServer.util.StringUtil; import org.jetbrains.annotations.NotNull; import java.util.List...
teamcity-kubernetes-plugin-agent/src/main/java/jetbrains/buildServer/helm/InstallBuildService.java
package jetbrains.buildServer.helm; import jetbrains.buildServer.RunBuildException; import jetbrains.buildServer.agent.runner.BuildServiceAdapter; import jetbrains.buildServer.agent.runner.ProgramCommandLine; import jetbrains.buildServer.util.StringUtil; import org.jetbrains.annotations.NotNull; import java.util.Link...
fix passing parameters to helm install
teamcity-kubernetes-plugin-agent/src/main/java/jetbrains/buildServer/helm/InstallBuildService.java
fix passing parameters to helm install
<ide><path>eamcity-kubernetes-plugin-agent/src/main/java/jetbrains/buildServer/helm/InstallBuildService.java <ide> import jetbrains.buildServer.util.StringUtil; <ide> import org.jetbrains.annotations.NotNull; <ide> <del>import java.util.LinkedList; <ide> import java.util.List; <ide> import java.util.Map; <ide> <ide> ...
Java
apache-2.0
3a90233f570b52edf65cf0424dbe0151659ea551
0
ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/uif/library/collections/LibraryCollectionFeaturesEditLineAft.java
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
KULRICE-13216: Create AFT for editing collection rows via modal git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@48547 7a7aa7f6-c479-11dc-97e2-85a2497f191d
rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/uif/library/collections/LibraryCollectionFeaturesEditLineAft.java
KULRICE-13216: Create AFT for editing collection rows via modal
<ide><path>ice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/uif/library/collections/LibraryCollectionFeaturesEditLineAft.java <ide> <ide> import org.apache.commons.lang.RandomStringUtils; <ide> import org.apache.commons.lang.math.RandomUtils; <add>import org.junit.Ignore; <ide> import org.junit.Te...
JavaScript
agpl-3.0
f845a9057466d7a7b73324f5ea8d3ca0fc20bfbc
0
GreyCat/power-musicbrainz-editor
// ==UserScript== // @name MusicBrainz power editor // @description Provide power editor tools for quick massive editing in MusicBrainz // @include http://musicbrainz.org/* // @match http://musicbrainz.org/* // ==/UserScript== function PowerEditor() { function prependChild(whereTo, what) { ...
power_editor.user.js
// ==UserScript== // @name MusicBrainz power editor // @description Provide power editor tools for quick massive editing in MusicBrainz // @include http://musicbrainz.org/* // @match http://musicbrainz.org/* // ==/UserScript== function PowerEditor() { function prependChild(whereTo, what) { ...
Added multiple work gathering algorithm from a table
power_editor.user.js
Added multiple work gathering algorithm from a table
<ide><path>ower_editor.user.js <ide> } <ide> <ide> this.memorize = function(listId, title, href) { <add> var list = this[listId]; <add> this.memorizeOne(list, title, href); <add> this.saveToStorage(); <add> this.updateList(listId); <add> } <add> <add> this.memorizeOne = function(list, title, href) { <ide> var ...
JavaScript
mit
7288a904f0edd38052a1b5e63d8e2c8d8d970126
0
pandorajs/widget,pandorajs/widget
define(function(require, exports, module) { /** * 自动渲染 widget * 根据 data-widget 属性,自动渲染所有开启了 data-api 的 widget 组件 * * @module Widget * @class AutoRender * @static * @param root 渲染的 dom 范围,默认是 body * @param callback 渲染后执行的回调 */ 'use strict'; var $ = require('$'); var daParser = requ...
src/autorender.js
define(function(require, exports, module) { /** * 自动渲染 widget * 根据 data-widget 属性,自动渲染所有开启了 data-api 的 widget 组件 * * @module Widget * @class AutoRender * @static * @param root 渲染的 dom 范围,默认是 body * @param callback 渲染后执行的回调 */ 'use strict'; var $ = require('$'); var daParser = requ...
修复 autorender iframe 的判断
src/autorender.js
修复 autorender iframe 的判断
<ide><path>rc/autorender.js <ide> options[element.getAttribute(DATA_WIDGET_ROLE) || 'element'] = element; <ide> <ide> // 临时补丁,解决配置信息多的情况 <del> var iframe = window.frames[0], CMS_WIDGET_CONFIG = window.CMS_WIDGET_CONFIG; <del> if (iframe && iframe.frameElement.className === 'design-iframe'...
JavaScript
mit
4d1294203ae45089e012fb98c26326959998343a
0
France-ioi/bebras-modules,be-oi/beoi-contest-modules,be-oi/beoi-contest-modules,France-ioi/bebras-modules
var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('=...
pemFioi/blockly_lib.js
var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('=...
disable link to main list
pemFioi/blockly_lib.js
disable link to main list
<ide><path>emFioi/blockly_lib.js <ide> if (context.success) { <ide> message = "<span style='color:green;font-weight:bold'>" + message + "</span>"; <ide> if (context.linkBack) { <del> message += "<br/><span onclick='window.parent.backToList()' style='font-weigh...
Java
mit
error: pathspec 'cthulhator/src/main/java/com/bustiblelemons/cthulhator/adapters/AbsStickyListAdapter.java' did not match any file(s) known to git
8c8641aaa6c73b055962e2a74acc4eab790b8b47
1
bhm/Cthulhator
package com.bustiblelemons.cthulhator.adapters; import android.content.Context; import android.view.View; import android.view.ViewGroup; import com.bustiblelemons.adapters.AbsListAdapter; import com.bustiblelemons.cthulhator.R; import com.bustiblelemons.holders.impl.ViewHolder; import java.util.ArrayList; import jav...
cthulhator/src/main/java/com/bustiblelemons/cthulhator/adapters/AbsStickyListAdapter.java
implement base sticky list adapter
cthulhator/src/main/java/com/bustiblelemons/cthulhator/adapters/AbsStickyListAdapter.java
implement base sticky list adapter
<ide><path>thulhator/src/main/java/com/bustiblelemons/cthulhator/adapters/AbsStickyListAdapter.java <add>package com.bustiblelemons.cthulhator.adapters; <add> <add>import android.content.Context; <add>import android.view.View; <add>import android.view.ViewGroup; <add> <add>import com.bustiblelemons.adapters.AbsListAdap...
Java
apache-2.0
45ed658ac584bb6e3600f2d14911d9c48a0cc7c3
0
lemib/maps-app-android,Esri/maps-app-android,shellygill/maps-app-android,kubaszostak/maps-app-android
/* Copyright 1995-2014 Esri * * 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 writin...
maps-app/src/com/esri/android/mapsapp/map/MapsAppActivity.java
/* Copyright 1995-2014 Esri * * 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 writin...
list of drawer items - initial commit
maps-app/src/com/esri/android/mapsapp/map/MapsAppActivity.java
list of drawer items - initial commit
<ide><path>aps-app/src/com/esri/android/mapsapp/map/MapsAppActivity.java <ide> import android.view.View; <ide> import android.view.View.OnKeyListener; <ide> import android.view.inputmethod.InputMethodManager; <add>import android.widget.AdapterView; <add>import android.widget.AdapterView.OnItemClickListener; <add>import...
Java
mit
77bace55141d72741ad25df22391a839c6650257
0
jnovinger/DemoReader
package org.novinger.jason.demoreader; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import java.util.Ar...
app/src/main/java/org/novinger/jason/demoreader/ListActivity.java
package org.novinger.jason.demoreader; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import java.util.Ar...
Use `Collections.add` static method rather than explicit for loop
app/src/main/java/org/novinger/jason/demoreader/ListActivity.java
Use `Collections.add` static method rather than explicit for loop
<ide><path>pp/src/main/java/org/novinger/jason/demoreader/ListActivity.java <ide> import android.widget.ListView; <ide> <ide> import java.util.ArrayList; <add>import java.util.Collections; <ide> <ide> public class ListActivity extends AppCompatActivity { <ide> <ide> "Eli", "Danika", "Lori", "Wyatt", ...
Java
apache-2.0
00cb148aae1110eda32e5b3a28a3be009da3cf68
0
Sk464036801/geo,Sk464036801/geo,perja12/geo,davidmoten/geo,davidmoten/geo,perja12/geo
package com.github.davidmoten.geo.db; import java.io.File; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.concurrent.TimeUnit; import org.apache.c...
src/test/java/com/github/davidmoten/geo/db/DatabaseTest.java
package com.github.davidmoten.geo.db; import java.io.File; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.concurrent.TimeUnit; import org.apache.c...
refactor variable name
src/test/java/com/github/davidmoten/geo/db/DatabaseTest.java
refactor variable name
<ide><path>rc/test/java/com/github/davidmoten/geo/db/DatabaseTest.java <ide> File dir = new File("target/db"); <ide> FileUtils.deleteDirectory(dir); <ide> dir.mkdir(); <del> String sql = IOUtils.toString( <add> String script = IOUtils.toString( <ide> DatabaseTest.class.getResourceAsStream("/create.sql"), "U...
Java
mit
ef28172dc277fd016b960ded121dfd81302b43a9
0
CS2103AUG2016-T09-C2/main,CS2103AUG2016-T09-C2/main
package seedu.jimi.testutil; import seedu.jimi.model.tag.UniqueTagList; import seedu.jimi.model.task.*; /** * A mutable floating task object. For testing only. */ public class TestFloatingTask implements ReadOnlyTask { private Name name; private UniqueTagList tags; private boolean isCompleted; pub...
src/test/java/seedu/jimi/testutil/TestFloatingTask.java
package seedu.jimi.testutil; import seedu.jimi.model.tag.UniqueTagList; import seedu.jimi.model.task.*; /** * A mutable floating task object. For testing only. */ public class TestFloatingTask implements ReadOnlyTask { private Name name; private UniqueTagList tags; public TestFloatingTask() { ...
Add isCompleted mem var to TestFloatingTask for testing
src/test/java/seedu/jimi/testutil/TestFloatingTask.java
Add isCompleted mem var to TestFloatingTask for testing
<ide><path>rc/test/java/seedu/jimi/testutil/TestFloatingTask.java <ide> <ide> private Name name; <ide> private UniqueTagList tags; <add> private boolean isCompleted; <ide> <ide> public TestFloatingTask() { <ide> tags = new UniqueTagList(); <ide> return sb.toString(); <ide> } <ide> ...
JavaScript
mit
5d1514307dccf5762cd867401dbd9971d8164074
0
fkrauthan/nss-run,fkrauthan/nss-run
#!/usr/bin/env node const fs = require('fs'); const path = require('path'); const chalk = require('chalk'); const packageJson = require('../package.json'); const nssRun = require('../lib/index'); // Add a simple file check function assemblePath(fileName) { return path.resolve('.', fileName); } function fileExis...
bin/nss-run.js
#!/usr/bin/env node const fs = require('fs'); const path = require('path'); const chalk = require('chalk'); const packageJson = require('../package.json'); const nssRun = require('../lib/index'); // Add a simple file check function assemblePath(fileName) { return path.resolve('.', fileName); } function fileExis...
Fixed a bug where errors did not get converted in a failed execution
bin/nss-run.js
Fixed a bug where errors did not get converted in a failed execution
<ide><path>in/nss-run.js <ide> console.log(); <ide> nssRun.processArgs(process.argv.slice(2)) <ide> .then(() => process.exit(0)) <del> .error(() => process.exit(-1)); <add> .catch(() => process.exit(1));
Java
bsd-3-clause
error: pathspec 'src/gwtl-core/src/test/java/org/discotools/gwt/leaflet/client/controls/ControlGwtlTest.java' did not match any file(s) known to git
0c54bbf500dac738e40501a39027d7662b9500f2
1
haleystorm/gwt-leaflet,kengu/gwt-leaflet,haleystorm/gwt-leaflet,kengu/gwt-leaflet,kengu/gwt-leaflet,kengu/gwt-leaflet,haleystorm/gwt-leaflet,haleystorm/gwt-leaflet
package org.discotools.gwt.leaflet.client.controls; import org.discotools.gwt.leaflet.client.GwtlTestCase; /** * {@link Control} tests * @author kengu * */ public class ControlGwtlTest extends GwtlTestCase { public void testControlOptions() { logTest("testControlOptions","{ position: \"left\" }"); ControlO...
src/gwtl-core/src/test/java/org/discotools/gwt/leaflet/client/controls/ControlGwtlTest.java
Added gwt-core Control tests
src/gwtl-core/src/test/java/org/discotools/gwt/leaflet/client/controls/ControlGwtlTest.java
Added gwt-core Control tests
<ide><path>rc/gwtl-core/src/test/java/org/discotools/gwt/leaflet/client/controls/ControlGwtlTest.java <add>package org.discotools.gwt.leaflet.client.controls; <add> <add>import org.discotools.gwt.leaflet.client.GwtlTestCase; <add> <add>/** <add> * {@link Control} tests <add> * @author kengu <add> * <add> */ <add>public...
Java
apache-2.0
d7d9efcc9ba9d269c61613753fee7e08dfc06752
0
apurtell/phoenix,apurtell/phoenix,ankitsinghal/phoenix,apache/phoenix,apurtell/phoenix,apurtell/phoenix,ankitsinghal/phoenix,apache/phoenix,apache/phoenix,apurtell/phoenix,ankitsinghal/phoenix,ankitsinghal/phoenix,apache/phoenix,ankitsinghal/phoenix,apache/phoenix
/* * 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 ...
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.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 ...
PHOENIX-5608 upgrading CATALOG table fails when setting phoenix.connection.autoCommit=true
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
PHOENIX-5608 upgrading CATALOG table fails when setting phoenix.connection.autoCommit=true
<ide><path>hoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java <ide> props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(timestamp)); <ide> // Cannot go through DriverManager or you end up in an infinite loop because it'll call init again <ide> Phoe...
Java
apache-2.0
error: pathspec 'Report/src/org/sleuthkit/autopsy/report/StopWatch.java' did not match any file(s) known to git
0e95f006b37daea48c8317ba48015d753dbe7f17
1
eXcomm/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,APriestman/autopsy,wschaeferB/autopsy,rcordovano/autopsy,APriestman/autopsy,raman-bt/autopsy,APriestman/autopsy,mhmdfy/autopsy,eXcomm/autopsy,maxrp/autopsy,raman-bt/autopsy,eXcomm/autopsy,sidheshenator/autopsy,raman-bt/autopsy,dgrove727/autopsy,maxrp/autopsy,dgrove72...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.sleuthkit.autopsy.report; /** * * @author Alex */ public class StopWatch { private long startTime = 0; private long stopTime = 0; private boolean running = false; public void st...
Report/src/org/sleuthkit/autopsy/report/StopWatch.java
Stopwatch class temporary addition to track time of execution easily on very specific parts of code Signed-off-by: Alex Ebadirad <e963d019096c1d13a6bbd0bcda19aaec3e7236cb@42six.com>
Report/src/org/sleuthkit/autopsy/report/StopWatch.java
Stopwatch class temporary addition to track time of execution easily on very specific parts of code
<ide><path>eport/src/org/sleuthkit/autopsy/report/StopWatch.java <add>/* <add> * To change this template, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package org.sleuthkit.autopsy.report; <add> <add>/** <add> * <add> * @author Alex <add> */ <add>public class StopWatch { <add> ...
Java
apache-2.0
042d0c164efd0d2357a51328b79c7cb52d4c4b0e
0
WhippyCleric/WhipPlugins
package com.whippy.sponge.whipconomy.commands; import java.util.Collections; import java.util.List; import org.spongepowered.api.entity.player.Player; import org.spongepowered.api.text.Text; import org.spongepowered.api.text.Texts; import org.spongepowered.api.text.format.TextColors; import org.spongepowered.api.uti...
WhipEconomy/src/main/java/com/whippy/sponge/whipconomy/commands/TransactionsCommand.java
/** * Copyright Murex S.A.S., 2003-2015. All Rights Reserved. * * This software program is proprietary and confidential to Murex S.A.S and its affiliates ("Murex") and, without limiting the generality of the foregoing reservation of rights, shall not be accessed, used, reproduced or distributed without the * ex...
Remove accidental copyright
WhipEconomy/src/main/java/com/whippy/sponge/whipconomy/commands/TransactionsCommand.java
Remove accidental copyright
<ide><path>hipEconomy/src/main/java/com/whippy/sponge/whipconomy/commands/TransactionsCommand.java <del>/** <del> * Copyright Murex S.A.S., 2003-2015. All Rights Reserved. <del> * <del> * This software program is proprietary and confidential to Murex S.A.S and its affiliates ("Murex") and, without limiting the gener...
Java
apache-2.0
28597cda9f38d2938998f794c981795b21f866c7
0
FilteredPush/event_date_qc
/** DwCEventTG2DQ.java * * Copyright 2019 President and Fellows of Harvard College * * 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 ...
src/main/java/org/filteredpush/qc/date/DwCEventTG2DQ.java
/** DwCEventTG2DQ.java * * Copyright 2019 President and Fellows of Harvard College * * 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 ...
Resolving more concerns for date tests and TG2 specifications. ISSUE: tdwg/bdq#84 tdwg/bdq#26 tdwg/bdq#130 tdwg/bdq#61 PURPOSE: Updating tests to reflect updates in definitions and latest discussion in tdwg/bdq issues. DESCRIPTION: Removing confirmed unused isMonthInRange() method. Updating VALIDATION_STARTDAYOFYEAR...
src/main/java/org/filteredpush/qc/date/DwCEventTG2DQ.java
Resolving more concerns for date tests and TG2 specifications. ISSUE: tdwg/bdq#84 tdwg/bdq#26 tdwg/bdq#130 tdwg/bdq#61 PURPOSE: Updating tests to reflect updates in definitions and latest discussion in tdwg/bdq issues. DESCRIPTION: Removing confirmed unused isMonthInRange() method. Updating VALIDATION_STARTDAYOFYEAR...
<ide><path>rc/main/java/org/filteredpush/qc/date/DwCEventTG2DQ.java <ide> // (evenly divisible by 400 or (evenly divisible by 4 but not <ide> //evenly divisible by 100)); otherwise NOT_COMPLIANT <ide> <del> DQResponse<ComplianceValue> monthResult = isMonthInRange(month); <add> DQResponse<Com...
Java
apache-2.0
82c3d3841d3c330527d97dcb39482fd423335de2
0
ingorichtsmeier/camunda-bpm-platform,langfr/camunda-bpm-platform,langfr/camunda-bpm-platform,camunda/camunda-bpm-platform,ingorichtsmeier/camunda-bpm-platform,langfr/camunda-bpm-platform,camunda/camunda-bpm-platform,langfr/camunda-bpm-platform,ingorichtsmeier/camunda-bpm-platform,camunda/camunda-bpm-platform,langfr/cam...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
engine-spring/core/src/main/java/org/camunda/bpm/engine/spring/SpringExpressionManager.java
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
chore(spring): add additional constructor to SpringExpressionManager
engine-spring/core/src/main/java/org/camunda/bpm/engine/spring/SpringExpressionManager.java
chore(spring): add additional constructor to SpringExpressionManager
<ide><path>ngine-spring/core/src/main/java/org/camunda/bpm/engine/spring/SpringExpressionManager.java <ide> super(beans); <ide> this.applicationContext = applicationContext; <ide> } <add> <add> /** <add> * @param applicationContext <add> * the applicationContext to use. <add> * @see #SpringE...
Java
agpl-3.0
46dbab35139c8bd97a8c6202f9d84c362e545db4
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
41dfff76-2e62-11e5-9284-b827eb9e62be
hello.java
41da99c8-2e62-11e5-9284-b827eb9e62be
41dfff76-2e62-11e5-9284-b827eb9e62be
hello.java
41dfff76-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>41da99c8-2e62-11e5-9284-b827eb9e62be <add>41dfff76-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
dce0fba1ff2618fa833f12fd0a78c81a48ba3065
0
arjuna-technologies/CKAN_DataBroker_PlugIn
/* * Copyright (c) 2014-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.dbplugins.ckan.filestore; import java.io.IOException; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Collection; import java.util...
ckan-filestore/src/main/java/com/arjuna/dbplugins/ckan/filestore/FileStoreCKANDataService.java
/* * Copyright (c) 2014-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.dbplugins.ckan.filestore; import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.Charset; import java.util.Collection; import java.util.Collections; import jav...
Working 'HttpURLConnection' implementation
ckan-filestore/src/main/java/com/arjuna/dbplugins/ckan/filestore/FileStoreCKANDataService.java
Working 'HttpURLConnection' implementation
<ide><path>kan-filestore/src/main/java/com/arjuna/dbplugins/ckan/filestore/FileStoreCKANDataService.java <ide> <ide> package com.arjuna.dbplugins.ckan.filestore; <ide> <add>import java.io.IOException; <add>import java.io.OutputStream; <ide> import java.net.HttpURLConnection; <ide> import java.net.URL; <del>import jav...
Java
apache-2.0
2cd5f914af38e13597209f7d53d38f77c653545b
0
mahak/hbase,Apache9/hbase,mahak/hbase,mahak/hbase,apurtell/hbase,Apache9/hbase,mahak/hbase,ndimiduk/hbase,mahak/hbase,apurtell/hbase,Apache9/hbase,Apache9/hbase,Apache9/hbase,apurtell/hbase,ndimiduk/hbase,mahak/hbase,Apache9/hbase,apurtell/hbase,apurtell/hbase,ndimiduk/hbase,mahak/hbase,mahak/hbase,mahak/hbase,Apache9/...
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.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 ...
HBASE-25197 Remove SingletonCoprocessorService interface (#2560) Remove the SingletonCoprocessorService interface targeted for removal in 3.0.0. Signed-off-by: Duo Zhang <ca823f7b4f21a31b6ef7892c1f90d53103f0d135@apache.org> Signed-off-by: Viraj Jasani <0f008b677517e222a5b140e7cfedb6aed7df6c3b@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.java
HBASE-25197 Remove SingletonCoprocessorService interface (#2560)
<ide><path>base-server/src/main/java/org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.java <del>/* <del> * Licensed to the Apache Software Foundation (ASF) under one <del> * or more contributor license agreements. See the NOTICE file <del> * distributed with this work for additional information <del> * ...
Java
apache-2.0
d3c9c8a5b2857f236843e23809c076ce287c2897
0
crrlos/MyChess
package com.mychess.mychess; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.graphics.Color; import android.os.AsyncTask; impor...
app/src/main/java/com/mychess/mychess/Juego.java
package com.mychess.mychess; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.graphics.Color; import android.os.AsyncTask; impor...
Se modificó la clase RecibirMovimiento para heredar la clase Thread y se creó un handler para la comunicación con el hilo
app/src/main/java/com/mychess/mychess/Juego.java
Se modificó la clase RecibirMovimiento para heredar la clase Thread y se creó un handler para la comunicación con el hilo
<ide><path>pp/src/main/java/com/mychess/mychess/Juego.java <ide> import android.os.AsyncTask; <ide> import android.os.Bundle; <ide> import android.os.CountDownTimer; <add>import android.os.Handler; <ide> import android.os.IBinder; <ide> import android.speech.RecognitionListener; <ide> import android.speech.RecognizerIn...
Java
apache-2.0
0d82475662618fa96f6a22f16cd0b5e220a57e0a
0
tokee/ponder-this
/* * 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 * dis...
src/main/java/dk/ekot/ibm/Jan2021/VaccineRobot.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 * dis...
Switch to two-stage search with primary candidates in first column
src/main/java/dk/ekot/ibm/Jan2021/VaccineRobot.java
Switch to two-stage search with primary candidates in first column
<ide><path>rc/main/java/dk/ekot/ibm/Jan2021/VaccineRobot.java <ide> /** <ide> * https://www.research.ibm.com/haifa/ponderthis/challenges/January2021.html <ide> * <del> * TODO: Thread inside grids for large complete tests <ide> * TODO: Figure out earlier termination when walking <ide> * TODO: Plot processing times <...
Java
apache-2.0
502e5f939ecfa8fd8440fdc2d7021c19e995bae5
0
lisaglendenning/zookeeper-lite,lisaglendenning/zookeeper-lite
package edu.uw.zookeeper.data; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Comparator; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Nonnull; import com.google.common.base.Converter; import com.google.common.bas...
zkcore/src/main/java/edu/uw/zookeeper/data/Sequential.java
package edu.uw.zookeeper.data; import java.util.Comparator; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.google.common.base.Converter; import com.google.common.base.Optional; import com.google.common.primitives.UnsignedInteger; /** * Converts a sequential znode...
added equals to Sequential
zkcore/src/main/java/edu/uw/zookeeper/data/Sequential.java
added equals to Sequential
<ide><path>kcore/src/main/java/edu/uw/zookeeper/data/Sequential.java <ide> package edu.uw.zookeeper.data; <add> <add>import static com.google.common.base.Preconditions.checkNotNull; <ide> <ide> import java.util.Comparator; <ide> import java.util.Locale; <ide> import java.util.regex.Matcher; <ide> import java.util.rege...
Java
apache-2.0
9594c031df90536ec7851a89f6122e106b91b5b8
0
esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,esaunders/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,wschaeferB/autopsy
/* * Autopsy Forensic Browser * * Copyright 2015 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * 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://ww...
Core/src/org/sleuthkit/autopsy/modules/embeddedfileextractor/MSOfficeEmbeddedContentExtractor.java
/* * Autopsy Forensic Browser * * Copyright 2015 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * 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://ww...
4782 add incrementing integer to beggining of extracted picture names for doc
Core/src/org/sleuthkit/autopsy/modules/embeddedfileextractor/MSOfficeEmbeddedContentExtractor.java
4782 add incrementing integer to beggining of extracted picture names for doc
<ide><path>ore/src/org/sleuthkit/autopsy/modules/embeddedfileextractor/MSOfficeEmbeddedContentExtractor.java <ide> } <ide> List<ExtractedFile> listOfExtractedImages = new ArrayList<>(); <ide> byte[] data = null; <add> int pictureNumber = 0; <ide> for (Picture picture : listOfAllPi...
Java
epl-1.0
d0d20fbaa3ccb2e6f8bc52bbd4f037696b10493d
0
debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.cmap.legacy/src/MWC/GUI/Shapes/TextLabel.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
use the default font
org.mwc.cmap.legacy/src/MWC/GUI/Shapes/TextLabel.java
use the default font
<ide><path>rg.mwc.cmap.legacy/src/MWC/GUI/Shapes/TextLabel.java <ide> import javax.swing.JLabel; <ide> <ide> import MWC.GUI.CanvasType; <add>import MWC.GUI.Defaults; <ide> import MWC.GUI.Editable; <ide> import MWC.GUI.Properties.LocationPropertyEditor; <ide> import MWC.GUI.Properties.NullableLocationPropertyEditor; <i...
Java
apache-2.0
fc98a0c08aaab80037137423b176692682af85ce
0
vietj/ceylon-sdk,ASzc/ceylon-sdk,unratito/ceylon-sdk,matejonnet/ceylon-sdk,DiegoCoronel/ceylon-sdk,jeancharles-roger/ceylon-sdk,jeancharles-roger/ceylon-sdk,ASzc/ceylon-sdk,DiegoCoronel/ceylon-sdk,jvasileff/ceylon-sdk,lucaswerkmeister/ceylon-sdk,jvasileff/ceylon-sdk,lucaswerkmeister/ceylon-sdk,vietj/ceylon-sdk,rohitmoh...
package ceylon.interop.java; import com.redhat.ceylon.compiler.java.metadata.Ceylon; import com.redhat.ceylon.compiler.java.metadata.Method; import com.redhat.ceylon.compiler.java.metadata.Name; import com.redhat.ceylon.compiler.java.metadata.TypeInfo; @Ceylon(major = 5) @Method public final class javaString_ { ...
source/ceylon/interop/java/javaString_.java
package ceylon.interop.java; import com.redhat.ceylon.compiler.java.metadata.Ceylon; import com.redhat.ceylon.compiler.java.metadata.Method; import com.redhat.ceylon.compiler.java.metadata.Name; import com.redhat.ceylon.compiler.java.metadata.TypeInfo; @Ceylon(major = 4) @Method public final class javaString_ { ...
javaString: binary version bump
source/ceylon/interop/java/javaString_.java
javaString: binary version bump
<ide><path>ource/ceylon/interop/java/javaString_.java <ide> import com.redhat.ceylon.compiler.java.metadata.Name; <ide> import com.redhat.ceylon.compiler.java.metadata.TypeInfo; <ide> <del>@Ceylon(major = 4) <add>@Ceylon(major = 5) <ide> @Method <ide> public final class javaString_ { <ide>
Java
apache-2.0
cff5460ac3fc9c4660a2c37682b102588d3e5df3
0
mpoindexter/teavm,mpoindexter/teavm,shannah/cn1-teavm-builds,shannah/cn1-teavm-builds,jtulach/teavm,avdim/teavm,avdim/teavm,mpoindexter/teavm,jtulach/teavm,shannah/cn1-teavm-builds,avdim/teavm,jtulach/teavm,konsoletyper/teavm,mpoindexter/teavm,shannah/cn1-teavm-builds,konsoletyper/teavm,shannah/cn1-teavm-builds,konsole...
/* * Copyright 2014 Alexey Andreev. * * 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...
teavm-cli/src/main/java/org/teavm/cli/TeaVMRunner.java
/* * Copyright 2014 Alexey Andreev. * * 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...
Add interactive mode to CLI. Improve CLI
teavm-cli/src/main/java/org/teavm/cli/TeaVMRunner.java
Add interactive mode to CLI. Improve CLI
<ide><path>eavm-cli/src/main/java/org/teavm/cli/TeaVMRunner.java <ide> */ <ide> package org.teavm.cli; <ide> <del>import java.io.File; <add>import java.io.*; <ide> import org.apache.commons.cli.*; <ide> import org.teavm.tooling.RuntimeCopyOperation; <ide> import org.teavm.tooling.TeaVMTool; <add>import org.teavm.tool...
Java
apache-2.0
711ca3135a1a7e264d17f0a6055d3201dc4d1f10
0
hidroh/materialistic,hidroh/materialistic,hidroh/materialistic,hidroh/materialistic,hidroh/materialistic
package io.github.hidroh.materialistic; import android.content.DialogInterface; import android.content.Intent; import android.graphics.PorterDuff; import android.os.Bundle; import android.support.design.widget.AppBarLayout; import android.support.design.widget.Snackbar; import android.support.design.widget.TabLayout; ...
app/src/main/java/io/github/hidroh/materialistic/ItemActivity.java
package io.github.hidroh.materialistic; import android.content.DialogInterface; import android.content.Intent; import android.graphics.PorterDuff; import android.os.Bundle; import android.support.design.widget.AppBarLayout; import android.support.design.widget.Snackbar; import android.support.design.widget.TabLayout; ...
Remove custom appbar flags for single tab
app/src/main/java/io/github/hidroh/materialistic/ItemActivity.java
Remove custom appbar flags for single tab
<ide><path>pp/src/main/java/io/github/hidroh/materialistic/ItemActivity.java <ide> scrollToTop(); <ide> } <ide> }); <del> if (viewPager.getAdapter().getCount() < 2) { <del> AppBarLayout.LayoutParams p = (AppBarLayout.LayoutParams) mTabLayout.getLayoutParams(); <del>...
JavaScript
mit
138d9095f92e87ec304c7f5e142909129b1aaa85
0
azeezolaniran2016/cli-quiz-app
const requireReadLine = require("readline"); const readline = requireReadLine.createInterface({ input: process.stdin , output: process.stdout, terminal: false }); const localQuizzesPath = "./quizzes"; const fileSystem = require("fs"); const firebase = require("firebase"); const firebaseConfig = { //Declare firebase...
index.js
const requireReadLine = require("readline"); const readline = requireReadLine.createInterface({ input: process.stdin , output: process.stdout, terminal: false }); const localQuizzesPath = "./quizzes"; const fileSystem = require("fs"); const firebase = require("firebase"); const firebaseConfig = { //Declare firebase...
Implemented function to download specified quiz from firebase repository into app local quiz folder
index.js
Implemented function to download specified quiz from firebase repository into app local quiz folder
<ide><path>ndex.js <ide> console.log(' "importquiz [path to source] [output file name] " - Import a quiz file from a directory in your host machine'); <ide> console.log(' "takequiz [quizname] - Begin taking a quiz from the list of available quizzes"'); <ide> console.log(' "listonlinequizzes" - Lists Quizzes th...
Java
apache-2.0
88e0f34e122eb53a69ef05fbd6a1b6a9dba0ed93
0
requery/requery,requery/requery
/* * Copyright 2017 requery.io * * 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...
requery/src/main/java/io/requery/meta/BaseType.java
/* * Copyright 2016 requery.io * * 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...
Add missing expression method to base Type
requery/src/main/java/io/requery/meta/BaseType.java
Add missing expression method to base Type
<ide><path>equery/src/main/java/io/requery/meta/BaseType.java <ide> /* <del> * Copyright 2016 requery.io <add> * Copyright 2017 requery.io <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in compliance with the License. <ide> package io.requery....
Java
mit
1426f238e05893448ade334780fd01d9f97adaa5
0
Peter-Maximilian/settlers-remake,phirschbeck/settlers-remake,andreasb242/settlers-remake,andreas-eberle/settlers-remake,jsettlers/settlers-remake,phirschbeck/settlers-remake,jsettlers/settlers-remake,andreas-eberle/settlers-remake,jsettlers/settlers-remake,phirschbeck/settlers-remake,andreasb242/settlers-remake,andreas...
package jsettlers.logic.newmovable.strategies; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import jsettlers.common.buildings.jobs.EBuildingJobType; import jsettlers.common.buildings.jobs.IBuildingJob; import jsettlers.common.landscape.EResourceType; import...
jsettlers.logic.movable/jsettlers/logic/newmovable/strategies/BuildingWorkerStrategy.java
package jsettlers.logic.newmovable.strategies; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import jsettlers.common.buildings.jobs.EBuildingJobType; import jsettlers.common.buildings.jobs.IBuildingJob; import jsettlers.common.landscape.EResourceType; import...
[jsettlers.logic] improved the distribution of created soldier types
jsettlers.logic.movable/jsettlers/logic/newmovable/strategies/BuildingWorkerStrategy.java
[jsettlers.logic] improved the distribution of created soldier types
<ide><path>settlers.logic.movable/jsettlers/logic/newmovable/strategies/BuildingWorkerStrategy.java <ide> float random = RandomSingleton.nextF(); <ide> if (random < 0.5) { <ide> poppedMaterial = EMaterialType.SWORD; <del> } else if (random < 0.8) { <add> } else if (random < 0.65) { <ide> poppedMaterial = EM...
JavaScript
mit
defd1b983bbc5f92174e7ac585e57d15f10290bb
0
cjgwhite/jquery-timetable
(function($) { var TimeTable = function(options, container) { var defaultOptions = { orientation: "landscape", dayView: false, dayViewThreshold: 300, dayViewChangeEvent: "click swiperight swipeleft", minHourSize: 50, minDaySize: 50, ...
js/timetable.js
(function($) { var TimeTable = function(options, container) { var defaultOptions = { orientation: "landscape", dayView: false, dayViewThreshold: 300, dayViewChangeEvent: "click swiperight swipeleft", minHourSize: 50, minDaySize: 50, ...
added render start message
js/timetable.js
added render start message
<ide><path>s/timetable.js <ide> if (toabort) <ide> toabort.abort(); <ide> if (this.ajaxOn !== null) { <del> <del> this.ajaxOn.done($.proxy(this.__populateActivities, this)).fail(function() { <add> this.ajaxOn.d...
Java
apache-2.0
7ff4fd6e3f215e90f0a338602d1c291d68964521
0
emeroad/pinpoint,minwoo-jung/pinpoint,emeroad/pinpoint,suraj-raturi/pinpoint,naver/pinpoint,suraj-raturi/pinpoint,barneykim/pinpoint,Xylus/pinpoint,barneykim/pinpoint,emeroad/pinpoint,barneykim/pinpoint,emeroad/pinpoint,emeroad/pinpoint,barneykim/pinpoint,koo-taejin/pinpoint,jaehong-kim/pinpoint,minwoo-jung/pinpoint,mi...
/* * Copyright 2017 NAVER Corp. * * 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...
plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpConstants.java
/* * Copyright 2017 NAVER Corp. * * 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...
change service type code
plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpConstants.java
change service type code
<ide><path>lugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpConstants.java <ide> * @author lopiter <ide> */ <ide> public class AkkaHttpConstants { <del> public static final ServiceType AKKA_HTTP = ServiceTypeFactory.of(9999, "AKKA_HTTP_SERVER", ServiceTypeProperty.RECORD_STATISTICS); ...
Java
mit
213f14bf3cf3f6eb0764c39a7bf933d3cf522605
0
damorton/lovat,damorton/dropwizardheroku-webgateway,damorton/dropwizardheroku-webgateway,damorton/dropwizardheroku-webgateway,damorton/lovat,damorton/lovat
package com.bitbosh.lovat.webgateway.api; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Test; @SuppressWarnings("unchecked") public class ApiResponseUnitTest { @Test public void getEvents_returnsCorrectList_IfInjectedListNotNull() { List<String...
src/test/java/com/bitbosh/lovat/webgateway/api/ApiResponseUnitTest.java
package com.bitbosh.lovat.webgateway.api; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Test; import com.bitbosh.lovat.webgateway.api.ApiResponse; public class ApiResponseUnitTest { @Test public void getEvents_returnsCorrectList_IfInjectedList...
Added warning supressions to unit test
src/test/java/com/bitbosh/lovat/webgateway/api/ApiResponseUnitTest.java
Added warning supressions to unit test
<ide><path>rc/test/java/com/bitbosh/lovat/webgateway/api/ApiResponseUnitTest.java <ide> <ide> import org.junit.Test; <ide> <del>import com.bitbosh.lovat.webgateway.api.ApiResponse; <del> <add>@SuppressWarnings("unchecked") <ide> public class ApiResponseUnitTest { <ide> <ide> @Test <del> public void getEvents_retu...
Java
mit
f1ba44d6fa310ebac0512e6485dd790dc0d5eaba
0
StasDoskalenko/react-native-google-fit,StasDoskalenko/react-native-google-fit
package com.reactnative.googlefit; import android.os.AsyncTask; import android.util.Log; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.WritableArr...
android/src/main/java/com/reactnative/googlefit/NutritionHistory.java
package com.reactnative.googlefit; import android.os.AsyncTask; import android.util.Log; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.WritableArr...
JSON transformation
android/src/main/java/com/reactnative/googlefit/NutritionHistory.java
JSON transformation
<ide><path>ndroid/src/main/java/com/reactnative/googlefit/NutritionHistory.java <ide> import com.fasterxml.jackson.databind.ObjectMapper; <ide> <ide> /** <del> * Copyright (c) 2019-present, Juangui Jordán - juangui@gmail.com <del> * All rights reserved. <add> * Copyright (c) 2019-present, Juangui Jordán - juangui@gmai...
Java
agpl-3.0
b1fe8a32ac1af719b3e21b89fc4b038061ffb5a6
0
ngaut/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,ngaut/sql-layer,shunwang/sql-layer...
/** * 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/server/service/is/BasicInfoSchemaTablesServiceImpl.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...
Schema charset name should be schema/name
src/main/java/com/foundationdb/server/service/is/BasicInfoSchemaTablesServiceImpl.java
Schema charset name should be schema/name
<ide><path>rc/main/java/com/foundationdb/server/service/is/BasicInfoSchemaTablesServiceImpl.java <ide> return new ValuesRow(rowType, <ide> schema.getName(), <ide> null, // owner <del> ...
Java
apache-2.0
24a93f2114790ec8a80f5f1b40d918a7722b2be3
0
ne0fhyk/DP-Wear,DroidPlanner/tower-wear
package com.ox3dr.services.android.lib.drone.event; /** * Stores all possible drone events. */ public class Event { private static final String CLAZZ_NAME = Event.class.getName(); public static final String EVENT_ARMING = CLAZZ_NAME + ".ARMING"; public static final String EVENT_ATTITUDE = CLAZZ_NAME +...
lib/src/com/ox3dr/services/android/lib/drone/event/Event.java
package com.ox3dr.services.android.lib.drone.event; /** * Stores all possible drone events. */ public class Event { private static final String CLAZZ_NAME = Event.class.getName(); public static final String EVENT_ARMING = CLAZZ_NAME + ".ARMING"; public static final String EVENT_ATTITUDE = CLAZZ_NAME +...
events update.
lib/src/com/ox3dr/services/android/lib/drone/event/Event.java
events update.
<ide><path>ib/src/com/ox3dr/services/android/lib/drone/event/Event.java <ide> public static final String EVENT_STATE = CLAZZ_NAME + ".STATE"; <ide> public static final String EVENT_HOME = CLAZZ_NAME + ".HOME"; <ide> public static final String EVENT_GPS = CLAZZ_NAME + ".GPS"; <del> public static final Str...
Java
apache-2.0
50daede6720221edaf69b1acdd35f956eb4a7ed0
0
alphafoobar/intellij-community,vvv1559/intellij-community,ahb0327/intellij-community,idea4bsd/idea4bsd,nicolargo/intellij-community,xfournet/intellij-community,da1z/intellij-community,vladmm/intellij-community,MichaelNedzelsky/intellij-community,fitermay/intellij-community,suncycheng/intellij-community,fengbaicanhe/int...
package org.hanuna.gitalk.swing_ui.render; import org.hanuna.gitalk.printmodel.SpecialPrintElement; import org.hanuna.gitalk.swing_ui.render.painters.GraphCellPainter; import org.hanuna.gitalk.swing_ui.render.painters.RefPainter; import org.hanuna.gitalk.ui.tables.GraphCommitCell; import javax.swing.*; import java.aw...
plugins/git4idea/GitAlk/swing_ui/src/org/hanuna/gitalk/swing_ui/render/GraphCommitCellRender.java
package org.hanuna.gitalk.swing_ui.render; import org.hanuna.gitalk.printmodel.SpecialPrintElement; import org.hanuna.gitalk.swing_ui.render.painters.GraphCellPainter; import org.hanuna.gitalk.swing_ui.render.painters.RefPainter; import org.hanuna.gitalk.ui.tables.GraphCommitCell; import javax.swing.*; import java.aw...
Remove invalid assertion (by abreslav)
plugins/git4idea/GitAlk/swing_ui/src/org/hanuna/gitalk/swing_ui/render/GraphCommitCellRender.java
Remove invalid assertion (by abreslav)
<ide><path>lugins/git4idea/GitAlk/swing_ui/src/org/hanuna/gitalk/swing_ui/render/GraphCommitCellRender.java <ide> } <ide> <ide> private GraphCommitCell getAssertGraphCommitCell(Object value) { <del> assert value instanceof GraphCommitCell; <ide> return (GraphCommitCell)value; <ide> } <ide>
JavaScript
mit
f35bdc42da3e7e18d9cd007c3df5da83d7cc83b4
0
medikoo/node-ext
'use strict'; module.exports = { copy: require('./copy'), copySync: require('./copy-sync'), dirExists: require('./dir-exists'), fileExists: require('./file-exists'), filesAtPath: require('./files-at-path'), findRoot: require('./find-root'), isGitrepoRoot...
lib/fs/index.js
'use strict'; module.exports = { copy: require('./copy'), copySync: require('./copy-sync'), dirExists: require('./dir-exists'), fileExists: require('./file-exists'), filesAtPath: require('./files-at-path'), isIgnored: require('./is-ignored'), readdirDirec...
Update directory index
lib/fs/index.js
Update directory index
<ide><path>ib/fs/index.js <ide> dirExists: require('./dir-exists'), <ide> fileExists: require('./file-exists'), <ide> filesAtPath: require('./files-at-path'), <add> findRoot: require('./find-root'), <add> isGitrepoRoot: require('./is-gitrepo-root'), <ide> isIgnored: r...
Java
mpl-2.0
267f2e94bfdb6309f5eda43bee695131c4072648
0
msteinhoff/hello-world
8f8d1b5e-cb8e-11e5-96df-00264a111016
src/main/java/HelloWorld.java
8f81a219-cb8e-11e5-af55-00264a111016
For ashok to integrate at some point
src/main/java/HelloWorld.java
For ashok to integrate at some point
<ide><path>rc/main/java/HelloWorld.java <del>8f81a219-cb8e-11e5-af55-00264a111016 <add>8f8d1b5e-cb8e-11e5-96df-00264a111016
Java
mit
69a9d84fa516907a49c6d0c0faf6002b8af099b8
0
raeleus/skin-composer
/******************************************************************************* * MIT License * * Copyright (c) 2017 Raymond Buckley * * 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 Softwar...
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java
/******************************************************************************* * MIT License * * Copyright (c) 2017 Raymond Buckley * * 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 Softwar...
Scroll drawables dialog to previous scroll position when dialog is started.
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java
Scroll drawables dialog to previous scroll position when dialog is started.
<ide><path>ore/src/com/ray3k/skincomposer/dialog/DialogDrawables.java <ide> <ide> public class DialogDrawables extends Dialog { <ide> public static DialogDrawables instance; <del> private static int[] sizes = {125, 150, 200, 250}; <add> private final static int[] sizes = {125, 150, 200, 250}; <add> privat...
JavaScript
mit
a6379bcd9e2c356a32d376c30510a23c927c39df
0
HexChronicle/Fwibble,HexChronicle/Fwibble
var UserAPI = require('express').Router(); var User = require('../../app/actions/users'); module.exports = UserAPI; UserAPI.post('/signin', function(req, res) { console.log("signin request: ", req.body) // var activeRoom = '32a3f4'; User.findIdByUsername(req.body.username) .then(function(array) { if(array....
server/apis/user-api.js
var UserAPI = require('express').Router(); var Text = require('../../app/actions/texts'); var User = require('../../app/actions/users'); var Room = require('../../app/actions/rooms'); module.exports = UserAPI; /* POST /signin signs user in Expects request: { username: unique username password: TBD ...
Reverting user api file
server/apis/user-api.js
Reverting user api file
<ide><path>erver/apis/user-api.js <ide> var UserAPI = require('express').Router(); <ide> <del>var Text = require('../../app/actions/texts'); <ide> var User = require('../../app/actions/users'); <del>var Room = require('../../app/actions/rooms'); <ide> <ide> module.exports = UserAPI; <ide> <del>/* <del> POST /signin...
Java
apache-2.0
da92b5d09bd326061da5c333d0441c4ae82356d8
0
ram8647/appinventor-sources,ram8647/appinventor-sources,ram8647/appinventor-sources,ram8647/appinventor-sources,ram8647/appinventor-sources
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.components.runtime; import com.google.appinventor....
appinventor/components/src/com/google/appinventor/components/runtime/LocationSensor.java
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.components.runtime; import com.google.appinventor....
Fixes issue #606 -- prevents LocationChanged from returning lat,long of 0,0. Change-Id: Id143d8572972b6cb45ef08dd0e011ff247e5032c
appinventor/components/src/com/google/appinventor/components/runtime/LocationSensor.java
Fixes issue #606 -- prevents LocationChanged from returning lat,long of 0,0.
<ide><path>ppinventor/components/src/com/google/appinventor/components/runtime/LocationSensor.java <ide> private class MyLocationListener implements LocationListener { <ide> @Override <ide> // This sets fields longitude, latitude, altitude, hasLocationData, and <del> // hasAltitude, then calls LocationSens...
JavaScript
isc
66941db32bb1fd465dd8dbb9ca244e627a872bca
0
lapo-luchini/asn1js,lapo-luchini/asn1js,lapo-luchini/asn1js
// ASN.1 JavaScript decoder // Copyright (c) 2008-2014 Lapo Luchini <lapo@lapo.it> // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWA...
asn1.js
// ASN.1 JavaScript decoder // Copyright (c) 2008-2014 Lapo Luchini <lapo@lapo.it> // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWA...
BIT STRINGs with unused bits can't be used to encapsulate ASN.1 data. Closes #9 on GitHub.
asn1.js
BIT STRINGs with unused bits can't be used to encapsulate ASN.1 data.
<ide><path>sn1.js <ide> // must have valid content <ide> getSub(); <ide> } else if (tag.isUniversal() && ((tag.tagNumber == 0x03) || (tag.tagNumber == 0x04))) { <del> if (tag.tagNumber == 0x03) stream.get(); // skip BitString unused bits, must be in [0, 7] <del> // sometimes BitString ...
Java
lgpl-2.1
ffa38d5ba921d1724a90f231ce9d74080ac0ce5c
0
gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) Alkacon Software (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free...
src-gwt/org/opencms/acacia/client/CmsRootHandler.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) Alkacon Software (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free...
Fixing issue to get the attribute handler for choice types.
src-gwt/org/opencms/acacia/client/CmsRootHandler.java
Fixing issue to get the attribute handler for choice types.
<ide><path>rc-gwt/org/opencms/acacia/client/CmsRootHandler.java <ide> <ide> import org.opencms.acacia.shared.CmsContentDefinition; <ide> import org.opencms.acacia.shared.CmsType; <add>import org.opencms.gwt.client.util.CmsDebugLog; <ide> <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <ide> */ ...
JavaScript
mit
c5d89d5dc692f004162f4c26ec8a1990209056d1
0
cypress-io/cypress-documentation,cypress-io/cypress-documentation
const fs = require('fs') const path = require('path') const unified = require('unified') const visit = require('unist-util-visit') const markdown = require('remark-parse') const remark2rehype = require('remark-rehype') const squeezeParagraphs = require('remark-squeeze-paragraphs') const slug = require('remark-slug') co...
scripts/remarkPartialPlugin.js
const fs = require('fs') const path = require('path') const unified = require('unified') const visit = require('unist-util-visit') const markdown = require('remark-parse') const remark2rehype = require('remark-rehype') const squeezeParagraphs = require('remark-squeeze-paragraphs') const slug = require('remark-slug') co...
fix: add warning when "file" attribute is missing in "include" directive
scripts/remarkPartialPlugin.js
fix: add warning when "file" attribute is missing in "include" directive
<ide><path>cripts/remarkPartialPlugin.js <ide> const { file } = attributes <ide> <ide> if (!file) { <add> // eslint-disable-next-line no-console <add> console.warn( <add> 'Found a "::include" directive without a "name" attribute. You might have intended to import a partial into a markdown file...
Java
apache-2.0
42c7e0553876e1ec73f60c0df2630e2100263990
0
pperboires/PocDrools,lanceleverich/drools,reynoldsm88/drools,TonnyFeng/drools,manstis/drools,iambic69/drools,liupugong/drools,mswiderski/drools,Buble1981/MyDroolsFork,lanceleverich/drools,HHzzhz/drools,OnePaaS/drools,manstis/drools,lanceleverich/drools,kedzie/drools-android,winklerm/drools,yurloc/drools,mrietveld/drool...
package org.drools.lang.descr; import org.drools.io.Resource; import java.util.List; import java.util.Set; public class CompositePackageDescr extends PackageDescr { public CompositePackageDescr() { } public CompositePackageDescr(Resource resource, PackageDescr packageDescr) { super(packageDescr.get...
drools-compiler/src/main/java/org/drools/lang/descr/CompositePackageDescr.java
package org.drools.lang.descr; import org.drools.io.Resource; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; public class CompositePackageDescr extends PackageDescr { private List<ImportDescr> imports = Collections.emptyList();...
[JBRULES-3365] remove useless data structures
drools-compiler/src/main/java/org/drools/lang/descr/CompositePackageDescr.java
[JBRULES-3365] remove useless data structures
<ide><path>rools-compiler/src/main/java/org/drools/lang/descr/CompositePackageDescr.java <ide> <ide> import org.drools.io.Resource; <ide> <del>import java.util.ArrayList; <del>import java.util.Collections; <ide> import java.util.List; <ide> import java.util.Set; <ide> <ide> public class CompositePackageDescr extends...
JavaScript
mit
adba539486cc2a3e9191a427ab6a2df5c2d7116c
0
jib/piped,jib/piped
// TODO: come up with defaults & documentation here { debug: true, trace: false, tcp_port: 1337, udp_port: 1337, servers: [ // [ "tcp://localhost:10001", "socket:///tmp/echo1.socket" ], // [ "tcp://localhost:10002", "udp://localhost:10005" ], [ "tcp://localhost:10001" ], ...
etc/config.js
// TODO: come up with defaults & documentation here { debug: true, trace: false, tcp_port: 1337, servers: [ // [ "tcp://localhost:10001", "socket:///tmp/echo1.socket" ], // [ "tcp://localhost:10002", "udp://localhost:10005" ], [ "tcp://localhost:10001" ], [ "tcp://localho...
* tweaking
etc/config.js
* tweaking
<ide><path>tc/config.js <ide> { debug: true, <ide> trace: false, <ide> tcp_port: 1337, <add> udp_port: 1337, <ide> servers: [ <ide> // [ "tcp://localhost:10001", "socket:///tmp/echo1.socket" ], <ide> // [ "tcp://localhost:10002", "udp://localhost:10005" ], <ide> [ "tcp://local...
Java
apache-2.0
4f833261edf86a812ff31fe6c272c0b1e1264ead
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
/* * JBoss, Home of Professional Open Source. * Copyright 2017, 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...
agroal/runtime/src/main/java/org/jboss/shamrock/agroal/runtime/DataSourceProducer.java
/* * JBoss, Home of Professional Open Source. * Copyright 2017, 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...
set node identifier in narayana
agroal/runtime/src/main/java/org/jboss/shamrock/agroal/runtime/DataSourceProducer.java
set node identifier in narayana
<ide><path>groal/runtime/src/main/java/org/jboss/shamrock/agroal/runtime/DataSourceProducer.java <ide> import javax.transaction.TransactionManager; <ide> import javax.transaction.TransactionSynchronizationRegistry; <ide> <add>import com.arjuna.ats.arjuna.common.CoreEnvironmentBeanException; <add>import com.arjuna.ats....
Java
apache-2.0
4cc4f0be374a6e18d80fad578c49ae1cb4bbff72
0
DarkMorford/BetterThanWeagles
package net.darkmorford.btweagles.entity; import net.darkmorford.btweagles.BetterThanWeagles; import net.darkmorford.btweagles.entity.render.RenderSteveBeej; import net.minecraft.entity.EnumCreatureType; import net.minecraft.util.ResourceLocation; import net.minecraft.world.biome.Biome; import net.minecraft.world.stor...
src/main/java/net/darkmorford/btweagles/entity/ModEntities.java
package net.darkmorford.btweagles.entity; import net.darkmorford.btweagles.BetterThanWeagles; import net.darkmorford.btweagles.entity.render.RenderSteveBeej; import net.minecraft.entity.EnumCreatureType; import net.minecraft.util.ResourceLocation; import net.minecraft.world.biome.Biome; import net.minecraft.world.stor...
Adjust spawn weight for rarer spawn.
src/main/java/net/darkmorford/btweagles/entity/ModEntities.java
Adjust spawn weight for rarer spawn.
<ide><path>rc/main/java/net/darkmorford/btweagles/entity/ModEntities.java <ide> validBiomes.removeAll(BiomeDictionary.getBiomes(BiomeDictionary.Type.NETHER)); <ide> validBiomes.removeAll(BiomeDictionary.getBiomes(BiomeDictionary.Type.END)); <ide> <del> EntityRegistry.addSpawn(EntitySteveBeej.class, 50, 1, 2, Enum...
JavaScript
mit
b3f9681e4faf14ac894110e12e9a66d372b1dfd7
0
foodjunky/component-registry
'use strict'; var DependencyResolver = require('dependency-resolver'); var ComponentRegistration = require('./registration'); const REGISTRY_DEBUG = process.env.REGISTRY_DEBUG; /* * The component registry. The registry handles loading scripts, managing * dependencies and lazily initializing components when request...
lib/registry.js
'use strict'; var DependencyResolver = require('dependency-resolver'); var ComponentRegistration = require('./registration'); const REGISTRY_DEBUG = process.env.REGISTRY_DEBUG; /* * The component registry. The registry handles loading scripts, managing * dependencies and lazily initializing components when request...
Fixed dealiasing to ensure singletons
lib/registry.js
Fixed dealiasing to ensure singletons
<ide><path>ib/registry.js <ide> */ <ide> provider(path) { <ide> <del> path = this.dealias(path); <del> <ide> if (!this.providers[path]) { <ide> <ide> try { <ide> */ <ide> component(path, from) { <ide> <del> var provider = this.provider(path); <add> var actual = this.dealias(path); <add> ...
Java
bsd-3-clause
af2095842535c05613240215052fbcdd2f34ce64
0
exponent/react-native,janicduplessis/react-native,myntra/react-native,exponentjs/react-native,myntra/react-native,exponentjs/react-native,exponentjs/react-native,hoangpham95/react-native,arthuralee/react-native,hoangpham95/react-native,exponentjs/react-native,exponentjs/react-native,myntra/react-native,hammerandchisel/...
// Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.react.fabric; import static org.fest.assertions.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import com.facebook.react.bridge.CatalystInstance; import com.facebook.react.bridge.R...
ReactAndroid/src/test/java/com/facebook/react/fabric/FabricReconcilerTest.java
// Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.react.fabric; import static org.fest.assertions.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.powermock.api.mockito.PowerMockito.mockStatic; import com.facebook....
Use real YogaNodes in FabricReconcilerTest Reviewed By: mdvacca Differential Revision: D7664493 fbshipit-source-id: 74b088a91ea4f691cc15b5ea15dd585fe46e2035
ReactAndroid/src/test/java/com/facebook/react/fabric/FabricReconcilerTest.java
Use real YogaNodes in FabricReconcilerTest
<ide><path>eactAndroid/src/test/java/com/facebook/react/fabric/FabricReconcilerTest.java <ide> import static org.fest.assertions.api.Assertions.assertThat; <ide> import static org.mockito.Mockito.mock; <ide> import static org.mockito.Mockito.when; <del>import static org.powermock.api.mockito.PowerMockito.mockStatic; <d...
Java
mit
d9ec6f9beff5e28373bbddc30ff4f86c12d613df
0
edmondo1984/le_logback,samjamesobrien/le_java,logentries/le_java
package com.logentries.logback; import java.io.IOException; import java.io.OutputStream; import java.net.Socket; import java.nio.charset.Charset; import java.util.Random; import java.util.UUID; import java.util.concurrent.ArrayBlockingQueue; import ch.qos.logback.classic.PatternLayout; import ch.qos.logback.classic.p...
src/com/logentries/logback/LogentriesAppender.java
package com.logentries.logback; import java.io.IOException; import java.io.OutputStream; import java.net.Socket; import java.nio.charset.Charset; import java.util.Random; import java.util.UUID; import java.util.concurrent.ArrayBlockingQueue; import ch.qos.logback.classic.PatternLayout; import ch.qos.logback.classic.p...
Changed logback version to 1.0, used logback style debug messages
src/com/logentries/logback/LogentriesAppender.java
Changed logback version to 1.0, used logback style debug messages
<ide><path>rc/com/logentries/logback/LogentriesAppender.java <ide> /** <ide> * Logentries appender for logback. <ide> * <del> * VERSION: 1.1.7 <add> * VERSION: 1.0 <ide> * <ide> * @author Viliam Holub <ide> * @author Mark Lacomber <ide> */ <ide> <ide> /** Current Version number of library/ */ <del> static...
Java
apache-2.0
74fd9e419b6f75311221081681f1b6fca72c3cf1
0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
package org.apache.solr.cloud; /* * 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 ...
core/src/test/org/apache/solr/cloud/OverseerTest.java
package org.apache.solr.cloud; /* * 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 ...
tests: boost poll length git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1569925 13f79535-47bb-0310-9956-ffa450edef68
core/src/test/org/apache/solr/cloud/OverseerTest.java
tests: boost poll length
<ide><path>ore/src/test/org/apache/solr/cloud/OverseerTest.java <ide> if (coreCount == assignedCount) { <ide> break; <ide> } <del> Thread.sleep(500); <add> Thread.sleep(1000); <ide> } <ide> assertEquals("Unable to verify all cores have been returned an id", <ide> ...
JavaScript
mit
cd9da0b0017fbcf07984de42a864ecb40bb61d98
0
XAMulator/XAMulator,KevZho/xamulator
// TODO: Rewrite all SQL to use prepared statements. See: https://github.com/felixge/node-mysql#escaping-query-values var express = require('express'); var bodyParser = require('body-parser'); var mysql = require('mysql'); function shuffle(array) { for (var i = array.length - 1; i > 0; i--) { var j = Math....
backend/Server.js
// TODO: Rewrite all SQL to use prepared statements. See: https://github.com/felixge/node-mysql#escaping-query-values var express = require('express'); var bodyParser = require('body-parser'); var mysql = require('mysql'); function shuffle(o){ for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o...
change shuffle implementation to fisher-yates
backend/Server.js
change shuffle implementation to fisher-yates
<ide><path>ackend/Server.js <ide> var bodyParser = require('body-parser'); <ide> var mysql = require('mysql'); <ide> <del>function shuffle(o){ <del> for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); <del> return o; <del>}; <add>function shuffle(array) { <add> ...
JavaScript
apache-2.0
19b254fa06d11371082c16873ee349b77d31c072
0
SAP/openui5,SAP/openui5,SAP/openui5,SAP/openui5
/*! * ${copyright} */ // Provides control sap.m.ListBase. sap.ui.define([ "sap/ui/events/KeyCodes", "sap/ui/Device", "sap/ui/core/Control", "sap/ui/core/InvisibleText", "sap/ui/core/LabelEnablement", "sap/ui/core/delegate/ItemNavigation", "./library", "./InstanceManager", "./GrowingEnablement", "./GroupHea...
src/sap.m/src/sap/m/ListBase.js
/*! * ${copyright} */ // Provides control sap.m.ListBase. sap.ui.define([ "sap/ui/events/KeyCodes", "sap/ui/Device", "sap/ui/core/Control", "sap/ui/core/InvisibleText", "sap/ui/core/LabelEnablement", "sap/ui/core/delegate/ItemNavigation", "./library", "./InstanceManager", "./GrowingEnablement", "./GroupHea...
[INTERNAL] sap.m.Table: fix scrolling issue when sticky is enabled When the Window zoom is greater than 100%, this caused unexpected scrolling of the page when the first item in the list is focused. To avoid this the focused item top value is rounded. BCP: 1880415463 Change-Id: Id3f346390ed4a2ed9c17b93ed6d03e1a70915f...
src/sap.m/src/sap/m/ListBase.js
[INTERNAL] sap.m.Table: fix scrolling issue when sticky is enabled
<ide><path>rc/sap.m/src/sap/m/ListBase.js <ide> iHeaderToolbarRectHeight = parseInt(oHeaderToolbarRect.height, 10); <ide> } <ide> <del> var iItemTop = oItemDomRef.getBoundingClientRect().top; <add> var iItemTop = Math.round(oItemDomRef.getBoundingClientRect().top); <ide> <ide> if (iTHRectBottom > iItemTop ||...
Java
lgpl-2.1
49cb4336fc3a000255ffaeb2e196446c8fdfeb95
0
SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer
package net.sf.jaer.util; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.UnsupportedEncodingException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; import java.awt.datatransfer.Clipboard; import java.awt.dat...
src/net/sf/jaer/util/LoggingWindow.java
package net.sf.jaer.util; import java.awt.*; import javax.swing.*; /** A frame with text area to show logging results in. */ public class LoggingWindow extends JFrame { private JTextArea textArea; public LoggingWindow(String title, final int width, final int height) { super(t...
added a "copy to clipboard" and "mail to developers" button to uncaught exception logging window, so that we get more feedback git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@2884 b7f4320f-462c-0410-a916-d9f35bb82d52
src/net/sf/jaer/util/LoggingWindow.java
added a "copy to clipboard" and "mail to developers" button to uncaught exception logging window, so that we get more feedback
<ide><path>rc/net/sf/jaer/util/LoggingWindow.java <ide> package net.sf.jaer.util; <add> <ide> import java.awt.*; <add>import java.awt.event.ActionEvent; <add>import java.awt.event.ActionListener; <add>import java.io.UnsupportedEncodingException; <add>import java.util.logging.Level; <add>import java.util.logging.Logger;...
JavaScript
bsd-3-clause
a30f00c6571f631cf0e8805bcbccefb8716d997b
0
assetgraph/assetgraph-builder
var i18nTools = require('../i18nTools'), _ = require('underscore'), util = require('util'), AssetGraph = require('../AssetGraph'); function indentLines(str, level) { return str.split(/\r\n?|\n\r?/).map(function (line) { for (var i = 0 ; i < level ; i += 1) { line = ' ' + line; ...
lib/transforms/checkLanguageKeys.js
var i18nTools = require('../i18nTools'), _ = require('underscore'), util = require('util'), AssetGraph = require('../AssetGraph'); function indentLines(str, level) { return str.split(/\r\n?|\n\r?/).map(function (line) { for (var i = 0 ; i < level ; i += 1) { line = ' ' + line; ...
checkLanguageKeys: Ignore more elements and attributes when looking for untranslated text.
lib/transforms/checkLanguageKeys.js
checkLanguageKeys: Ignore more elements and attributes when looking for untranslated text.
<ide><path>ib/transforms/checkLanguageKeys.js <ide> var ignoreByAttributeName = {}; <ide> <ide> [ <del> 'accesskey', 'class', 'contenteditable', 'contextmenu', 'dir', 'draggable', 'dropzone', 'hidden', 'id', 'lang', 'spellcheck', 'style', 'tabindex', 'unselectable', <add> 'accesskey', 'class', 'contenteditable',...
Java
agpl-3.0
60d566ab8e40250ea81a0a522b38d0e46cf10d4f
0
UniversityOfHawaii/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,UniversityOfHawaii/kfs,bhutchinson/kfs,kkronenb/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/will-financials,kkronenb/kfs,UniversityOfHawaii/kfs,smith750/kfs,kkronenb/kfs,...
/* * Copyright 2010 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php * * Unless requir...
work/src/org/kuali/kfs/module/endow/batch/service/impl/EndowmenteDocPostingServiceImpl.java
/* * Copyright 2010 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php * * Unless requir...
KFSMI-6423: The new logic for calculating transaction amounts for specific documents types (both TO and FROM) lines have been implemented.
work/src/org/kuali/kfs/module/endow/batch/service/impl/EndowmenteDocPostingServiceImpl.java
KFSMI-6423: The new logic for calculating transaction amounts for specific documents types (both TO and FROM) lines have been implemented.
<ide><path>ork/src/org/kuali/kfs/module/endow/batch/service/impl/EndowmenteDocPostingServiceImpl.java <ide> <ide> /** <ide> * Helper method to figure out if transaction archive income/principal amount to be negated <add> * If document type is ECI, EAD, ELI, GLET, ECT AND line type code = T then copy <add...
Java
lgpl-2.1
5fd6d09fe8d94ea34bbefbbda59571225b6582e4
0
bdgp/OpenHiCAMM,bdgp/OpenHiCAMM,bdgp/OpenHiCAMM,bdgp/OpenHiCAMM
package org.bdgp.OpenHiCAMM.Modules; import javax.swing.JPanel; import javax.swing.JSpinner; import javax.swing.SpinnerNumberModel; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import net.miginfocom.swing.MigLayout; import javax.swing.JLabel; @SuppressWarnings("serial") public clas...
src/org/bdgp/OpenHiCAMM/Modules/ROIFinderDialog.java
package org.bdgp.OpenHiCAMM.Modules; import javax.swing.JMenuItem; import javax.swing.JPanel; import javax.swing.JSpinner; import javax.swing.SpinnerNumberModel; import javax.swing.SwingUtilities; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import net.miginfocom.swing.MigLayout; im...
remove launch pixel size calibrator button
src/org/bdgp/OpenHiCAMM/Modules/ROIFinderDialog.java
remove launch pixel size calibrator button
<ide><path>rc/org/bdgp/OpenHiCAMM/Modules/ROIFinderDialog.java <ide> package org.bdgp.OpenHiCAMM.Modules; <ide> <del>import javax.swing.JMenuItem; <ide> import javax.swing.JPanel; <ide> import javax.swing.JSpinner; <ide> import javax.swing.SpinnerNumberModel; <del>import javax.swing.SwingUtilities; <ide> import javax....
Java
mit
69c7fa50883cfde51fb9fc461c5a8a4cd8c02ec7
0
mahmoudShaheen/Medox
package com.slothnull.android.medox.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CompoundButton; import android.widget.Switch; import android.widge...
app/src/main/java/com/slothnull/android/medox/fragment/ControlFragment.java
package com.slothnull.android.medox.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CompoundButton; import android.widget.Switch; import android.widge...
adding unit, remove push to db
app/src/main/java/com/slothnull/android/medox/fragment/ControlFragment.java
adding unit, remove push to db
<ide><path>pp/src/main/java/com/slothnull/android/medox/fragment/ControlFragment.java <ide> AbstractSensor sensor = dataSnapshot.getValue(AbstractSensor.class); <ide> if (sensor != null) { <ide> if (sensor.light != null) <del> light.setText(sens...
Java
mit
06fd699b90b81bbf9953180fc544837322cf618c
0
verphen/recruitment,effine/recruitment,effine/recruitment,effine/recruitment,verphen/recruitment,effine/recruitment,verphen/recruitment,verphen/recruitment
/** * @author effine * @Date 2015年6月23日 上午9:22:55 * @email verphen#gmail.com */ package cn.effine; public class StringTest3 { private static String a = new String("ab"); public static void main(String[] args) { String s1 = "a"; String s2 = "b"; String s = s1 + s2; System.out.println(s == a); System....
src/test/java/cn/effine/StringTest3.java
/** * @author effine * @Date 2015年6月23日 上午9:22:55 * @email verphen#gmail.com */ package cn.effine; public class StringTest3 { private static String a = new String("ab"); public static void main(String[] args) { String s1 = "a"; String s2 = "b"; String s = s1 + s2; System.out.println(s == a); System....
update
src/test/java/cn/effine/StringTest3.java
update
<ide><path>rc/test/java/cn/effine/StringTest3.java <ide> System.out.println(s.intern() == a); <ide> System.out.println(s == a.intern()); <ide> System.out.println(s.intern() == a.intern()); <del> System.out.println("-------"); <ide> } <ide> }
Java
apache-2.0
b5e474c0b6ed5d5a0312b8334b4a31d350c584d8
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2017, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
client/src/main/java/io/spine/json/Json.java
/* * Copyright 2017, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Fix exception construction.
client/src/main/java/io/spine/json/Json.java
Fix exception construction.
<ide><path>lient/src/main/java/io/spine/json/Json.java <ide> import static com.google.common.base.Throwables.getRootCause; <ide> import static io.spine.protobuf.Messages.builderFor; <ide> import static io.spine.util.Exceptions.newIllegalArgumentException; <del>import static java.lang.String.format; <ide> <ide> /** <id...
Java
apache-2.0
7073db7981b501b0aad91dbab01bdff87395f463
0
IceKhan13/zeppelin,SachinJanani/zeppelin,mahantheshhv/incubator-zeppelin,tribbloid/incubator-zeppelin,Madhuka/incubator-zeppelin,Peaceful-learner/incubator-zeppelin,sagarkulkarni3592/incubator-zeppelin,rlugojr/incubator-zeppelin,kabong009/incubator-zeppelin,AntoineAugusti/incubator-zeppelin,tillrohrmann/incubator-zeppe...
package com.nflabs.zeppelin.zengine.stmt; import java.io.InputStream; import java.net.URI; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.nflabs.zeppelin.conf.ZeppelinConfiguration; import com.nflabs.zeppelin.conf.ZeppelinCon...
zeppelin-zengine/src/main/java/com/nflabs/zeppelin/zengine/stmt/Z.java
package com.nflabs.zeppelin.zengine.stmt; import java.io.InputStream; import java.net.URI; import java.net.URLClassLoader; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.nflabs.zeppelin.conf.ZeppelinConfiguration; import com....
Fix indent and remove unused import
zeppelin-zengine/src/main/java/com/nflabs/zeppelin/zengine/stmt/Z.java
Fix indent and remove unused import
<ide><path>eppelin-zengine/src/main/java/com/nflabs/zeppelin/zengine/stmt/Z.java <ide> <ide> import java.io.InputStream; <ide> import java.net.URI; <del>import java.net.URLClassLoader; <ide> import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <ide> import com.nflabs.zeppelin.conf.Zeppeli...
JavaScript
mit
8ba03fa65d3533af57d87cfed835f1ecded56f3e
0
airhadoken/canjs,yusufsafak/canjs,dimaf/canjs,WearyMonkey/canjs,rjgotten/canjs,WearyMonkey/canjs,whitecolor/canjs,bitovi/canjs,ackl/canjs,airhadoken/canjs,tracer99/canjs,ackl/canjs,azazel75/canjs,UXsree/canjs,UXsree/canjs,azazel75/canjs,thecountofzero/canjs,jebaird/canjs,patrick-steele-idem/canjs,mindscratch/canjs,spor...
module("can/model", { setup: function() { } }) var isDojo = (typeof dojo !== "undefined"); test("CRUD", function(){ return; new Person({foo: "bar"}).save(function(inst, attrs, create){ equals(create, "create") equals("bar", inst.foo) equals("zed", inst.zoo) ok(inst.save, "has save function"); p...
model/model_test.js
module("can/model", { setup: function() { } }) var isDojo = (typeof dojo !== "undefined"); test("CRUD", function(){ return; new Person({foo: "bar"}).save(function(inst, attrs, create){ equals(create, "create") equals("bar", inst.foo) equals("zed", inst.zoo) ok(inst.save, "has save function"); p...
Added test for updated and removed array properties
model/model_test.js
Added test for updated and removed array properties
<ide><path>odel/model_test.js <ide> Guy = can.Model({ <ide> findAll : 'GET /guys' <ide> },{}); <del> updateCount = 0; <ide> remove = false; <ide> <ide> can.fixture("GET /guys", function(){ <del> var guys = [{id: 1, name: 'mikey', age: 35}]; <add> var guys = [{id: 1, name: 'mikey'...
Java
mit
8fc63cc3df6a45262fd7154849cb9ccb31edee83
0
bdragan/takes,bdragan/takes,erimerturk/takes,pecko/takes,erimerturk/takes,xupyprmv/takes,georgeyanev/takes,ikhvostenkov/takes,essobedo/takes,simonjenga/takes,mstzn36/takes,hs3180/takes,hs3180/takes,essobedo/takes,Bertram25/takes,pecko/takes,dalifreire/takes,mstzn36/takes,antonini/takes,RamIndani/takes,antonini/takes,ye...
/** * The MIT License (MIT) * * Copyright (c) 2015 Yegor Bugayenko * * 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 rights * to ...
src/test/java/org/takes/misc/SelectTest.java
/** * The MIT License (MIT) * * Copyright (c) 2015 Yegor Bugayenko * * 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 rights * to ...
Updated unit test cases
src/test/java/org/takes/misc/SelectTest.java
Updated unit test cases
<ide><path>rc/test/java/org/takes/misc/SelectTest.java <ide> */ <ide> package org.takes.misc; <ide> <del>import java.util.ArrayList; <del>import java.util.List; <add>import com.google.common.base.Joiner; <add>import java.util.Arrays; <ide> import org.hamcrest.MatcherAssert; <ide> import org.hamcrest.Matchers; <ide> i...
Java
agpl-3.0
cd4d98b75323c9abf4116dc95eb8cbba8fcae237
0
bisq-network/exchange,bitsquare/bitsquare,bisq-network/exchange,bitsquare/bitsquare
/* * This file is part of Bisq. * * Bisq 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. * * Bisq is distributed in the ...
core/src/main/java/bisq/core/trade/ClosedTradableManager.java
/* * This file is part of Bisq. * * Bisq 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. * * Bisq is distributed in the ...
Fix exception in Portfolio History screen
core/src/main/java/bisq/core/trade/ClosedTradableManager.java
Fix exception in Portfolio History screen
<ide><path>ore/src/main/java/bisq/core/trade/ClosedTradableManager.java <ide> return !tradable.getOffer().isCurrencyForMakerFeeBtc(); <ide> } <ide> <del> String feeTxId = castToTrade(tradable).getTakerFeeTxId(); <del> return bsqWalletService.getTransaction(feeTxId) != null; <add> ...
Java
apache-2.0
351493592bd5b03035f85d1dd53dd92b5bc8bf3e
0
rhauch/modeshape,elvisisking/modeshape,jasperstein/modeshape,pleacu/modeshape,sandk07/modeshape,sandk07/modeshape,ModeShape/modeshape,ModeShape/modeshape,phantomjinx/modeshape,mdrillin/modeshape,okulikov/modeshape,rhauch/modeshape,jasperstein/modeshape,Teiid-Designer/modeshape,elvisisking/modeshape,jasperstein/modeshap...
package org.modeshape.web.jcr.webdav; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.jcr.Node; import javax.jcr.RepositoryException; import javax...
web/modeshape-web-jcr-webdav/src/main/java/org/modeshape/web/jcr/webdav/DefaultContentMapper.java
package org.modeshape.web.jcr.webdav; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.jcr.Node; import javax.jcr.RepositoryException; import javax...
MODE-1562 changed getResourceLength impl removed null check
web/modeshape-web-jcr-webdav/src/main/java/org/modeshape/web/jcr/webdav/DefaultContentMapper.java
MODE-1562 changed getResourceLength impl
<ide><path>eb/modeshape-web-jcr-webdav/src/main/java/org/modeshape/web/jcr/webdav/DefaultContentMapper.java <ide> <ide> @Override <ide> public long getResourceLength( Node node ) throws RepositoryException, IOException { <del> InputStream is = getResourceContent(node); <del> <del> long size = 0; ...
Java
apache-2.0
244f9dcf19a4711a6e09a6c1f7e75ea248789f81
0
crate/crate,crate/crate,crate/crate
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/main/java/org/elasticsearch/index/IndexService.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Remove unused properties from IndexService
server/src/main/java/org/elasticsearch/index/IndexService.java
Remove unused properties from IndexService
<ide><path>erver/src/main/java/org/elasticsearch/index/IndexService.java <ide> <ide> package org.elasticsearch.index; <ide> <del>import io.crate.common.annotations.VisibleForTesting; <del>import io.crate.common.io.IOUtils; <del>import io.crate.common.unit.TimeValue; <add>import static io.crate.common.collections.MapB...
Java
bsd-2-clause
41b0e2ed67559e5c1f491205d66fb2213ab7ffc2
0
f97one/ScreeKeeper_Android
package net.formula97.android.screenkeeper; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Inten...
android/src/main/java/net/formula97/android/screenkeeper/SensorManagerService.java
package net.formula97.android.screenkeeper; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Inten...
相手方サービスの再立ち上げの際、一旦バインドを解除してサービスに停止命令を送るよう修正。
android/src/main/java/net/formula97/android/screenkeeper/SensorManagerService.java
相手方サービスの再立ち上げの際、一旦バインドを解除してサービスに停止命令を送るよう修正。
<ide><path>ndroid/src/main/java/net/formula97/android/screenkeeper/SensorManagerService.java <ide> return START_REDELIVER_INTENT; <ide> } <ide> <add> /** <add> * 相手方サービスを再立ち上げする。 <add> */ <ide> private void startAndBindWatcher() { <ide> Intent i = new Intent(this, SvcWatcherService.c...
Java
apache-2.0
13bd4309bc6785579c3734ec94d1efea9b6965d4
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
/* * Copyright 2012 Shared Learning Collaborative, LLC * * 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 applicabl...
sli/dashboard/src/main/java/org/slc/sli/dashboard/manager/component/impl/CustomizationAssemblyFactoryImpl.java
/* * Copyright 2012 Shared Learning Collaborative, LLC * * 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 applicabl...
DE1418: Dashboard Builder - new LOS tab causes grid not to show up in original LOS tab. Fixed Cache bug.
sli/dashboard/src/main/java/org/slc/sli/dashboard/manager/component/impl/CustomizationAssemblyFactoryImpl.java
DE1418: Dashboard Builder - new LOS tab causes grid not to show up in original LOS tab. Fixed Cache bug.
<ide><path>li/dashboard/src/main/java/org/slc/sli/dashboard/manager/component/impl/CustomizationAssemblyFactoryImpl.java <ide> if (dataConfig != null && (!dataConfig.isLazy() || lazyOverride) && !model.hasDataForAlias(dataConfig.getCacheKey())) { <ide> entity = getDataComponent(componentId, ...
Java
mit
a457cc857224b8fab16fda0d3803e8992b579b3f
0
MuriloACQ/Database-Helper-MySQL
package murilo.libs.facade.loader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import murilo.libs.database.Connector; import murilo.libs.database.Metadata; import murilo.libs.facade.ObjectRelational; import murilo.libs.facade.loader.ex...
Database-Helper/src/murilo/libs/facade/loader/DatabaseLoader.java
package murilo.libs.facade.loader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import murilo.libs.database.Connector; import murilo.libs.database.Metadata; import murilo.libs.facade.ObjectRelational; import murilo.libs.facade.loader.ex...
adding creat vos if necessary
Database-Helper/src/murilo/libs/facade/loader/DatabaseLoader.java
adding creat vos if necessary
<ide><path>atabase-Helper/src/murilo/libs/facade/loader/DatabaseLoader.java <ide> Connector.getSchema()); <ide> forceUpdate = false; <ide> } <del> <add> <ide> public void setBinaryPath(String binaryPath) { <ide> this.binaryPath = binaryPath; <ide> } <ide> classes = new ArrayList<Class<ObjectRelational>>()...
JavaScript
mit
24f2a378974b29b8750e6e02859a463df0229903
0
sajari/sajari-sdk-react,sajari/sajari-sdk-react
import GA from "sajari-react/ui/Analytics/ga"; import './polyfill' // for .startsWith class Analytics { constructor(state, ga = new GA()) { this.state = state; this.ga = ga; this.enabled = false; this.body = ""; this.onChange = this.onChange.bind(this); this.beforeunload = this.beforeunloa...
src/pipeline/analytics.js
import GA from "sajari-react/ui/Analytics/ga"; import './polyfill' // for .startsWith class Analytics { constructor(state, ga = new GA()) { window.addEventListener("beforeunload", this.beforeunload); this.state = state; this.ga = ga; this.enabled = false; this.body = ""; this.onChange = th...
Bind analytics unload function so it has context
src/pipeline/analytics.js
Bind analytics unload function so it has context
<ide><path>rc/pipeline/analytics.js <ide> <ide> class Analytics { <ide> constructor(state, ga = new GA()) { <del> window.addEventListener("beforeunload", this.beforeunload); <ide> this.state = state; <ide> this.ga = ga; <ide> <ide> this.body = ""; <ide> <ide> this.onChange = this.onChange.bind(t...
JavaScript
mit
166e3a51118f040674cc5b3dd6c2294caea30159
0
uetsujitomoya/yogajs,uetsujitomoya/yogajs,uetsujitomoya/yogajs
import d3 from "d3" var i,j,k,l; var width = 960, height = 500; var color = d3.scale.category20c(); var force = d3.layout.force() .charge(-120) .linkDistance(30) .size([width, height]); var svg = d3.select("body").append("svg") .attr("width", width) .attr("height", height); //以下計算中 /*...
src/index.js
import d3 from "d3" var i,j,k,l; var width = 960, height = 500; var color = d3.scale.category20c(); var force = d3.layout.force() .charge(-120) .linkDistance(30) .size([width, height]); var svg = d3.select("body").append("svg") .attr("width", width) .attr("height", height); //以下計算中 /*...
nodesのSet動作確認済
src/index.js
nodesのSet動作確認済
<ide><path>rc/index.js <ide> <ide> miserables.nodes = new Set(); <ide> miserables.links = new Set(); <add>var tangoset = miserables.nodes; <ide> <ide> //nodes書き換え。nodesはオブジェクトmiserables内にある配列 <del>//keitaisokaiseki.size は段落数 <del>//keitaisokaiseki[i].sizeは段落[i]内の単語数 <del>for(i=0;i<keitaisokaiseki.size;++i){ <del> fo...
Java
apache-2.0
78257f1330915ed37805fbce3d8106c2d7ef9e35
0
OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,halober/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,h...
package org.ovirt.engine.ui.webadmin; import org.ovirt.engine.ui.common.CommonApplicationConstants; public interface ApplicationConstants extends CommonApplicationConstants { @DefaultStringValue("oVirt Engine Web Administration") String applicationTitle(); @DefaultStringValue("About") String aboutPo...
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationConstants.java
package org.ovirt.engine.ui.webadmin; import org.ovirt.engine.ui.common.CommonApplicationConstants; public interface ApplicationConstants extends CommonApplicationConstants { @DefaultStringValue("oVirt Engine Web Administration") String applicationTitle(); @DefaultStringValue("About") String aboutPo...
webadmin: Fix gluster host force detach message The message is changed to 'Force Detach' to be inline with force remove message. Change-Id: I05508feb015f92d85dc5a55cf0ffb57a5e6ac4ca Signed-off-by: Kanagaraj M <a744b691cd98174fb19a473a8cf78b810491e452@redhat.com>
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationConstants.java
webadmin: Fix gluster host force detach message
<ide><path>rontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationConstants.java <ide> @DefaultStringValue("Host IP/Name") <ide> String detachGlusterHostsHostAddress(); <ide> <del> @DefaultStringValue("Detach the hosts forcefully") <add> @DefaultStringValue("Force Detach"...
Java
mpl-2.0
0c69fa42d25bfa013549f816b62f72fb5e733fa5
0
RoyalDev/RoyalCommands,joansmith/RoyalCommands
package org.royaldev.royalcommands.rcommands; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.plugin.InvalidDescriptionException; import org.bukkit.plugin.In...
src/org/royaldev/royalcommands/rcommands/CmdPluginManager.java
package org.royaldev.royalcommands.rcommands; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.plugin.InvalidDescriptionException; import org.bukkit.plugin.In...
Fixed: Use an async task for /pm updatecheckall to eliminate lag
src/org/royaldev/royalcommands/rcommands/CmdPluginManager.java
Fixed: Use an async task for /pm updatecheckall to eliminate lag
<ide><path>rc/org/royaldev/royalcommands/rcommands/CmdPluginManager.java <ide> return currentVersion; <ide> } <ide> <del> public boolean onCommand(CommandSender cs, Command cmd, String label, String[] args) { <add> public boolean onCommand(final CommandSender cs, Command cmd, String label, String[] a...
Java
epl-1.0
4ed66e64bb9c0df5d045b92d665551f703f1984c
0
Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt
/*********************************************************************** * Copyright (c) 2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/LayoutUtil.java
/*********************************************************************** * Copyright (c) 2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
Fix bugzilla bug 210501: Table column still appears in emitter if you select xls/doc/html to hide at the same time.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/LayoutUtil.java
Fix bugzilla bug 210501: Table column still appears in emitter if you select xls/doc/html to hide at the same time.
<ide><path>ngine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/LayoutUtil.java <ide> { <ide> if ( index > 0 ) <ide> { <del> if ( formats.charAt( index - 1 ) != ';' ) <add> if ( formats.charAt( index - 1 ) != ',' ) <ide> { <ide> return false; <ide> } <ide> int las...
Java
apache-2.0
f5a5b25a6e8501355ff450233aab34e3ffbe4862
0
harismexis/CameraHttp
package eu.cuteapps.camerahttp.activities; import java.io.File; import java.io.FileOutputStream; import java.util.ArrayList; import java.util.List; import java.util.Locale; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache....
app/src/main/java/eu/cuteapps/camerahttp/activities/PhotoActivity.java
package eu.cuteapps.camerahttp.activities; import java.io.File; import java.io.FileOutputStream; import java.util.ArrayList; import java.util.List; import java.util.Locale; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache....
Clean up comments
app/src/main/java/eu/cuteapps/camerahttp/activities/PhotoActivity.java
Clean up comments
<ide><path>pp/src/main/java/eu/cuteapps/camerahttp/activities/PhotoActivity.java <ide> saveFlashMode(); <ide> closeCameraAndPreview(); <ide> resetCameraSettingsViews(); <del> <del> /* Switch to photo camera mode */ <del> if(isVideoCameraMode) { <add> <add> ...
Java
agpl-3.0
9503457bec1eda2864c05375014139783919b074
0
darkaeon10/BalanceInquiry,darkaeon10/BalanceInquiry
package transaction.participant; import java.io.IOException; import java.io.Serializable; import org.jpos.core.Configurable; import org.jpos.core.Configuration; import org.jpos.core.ConfigurationException; import org.jpos.iso.ISOException; import org.jpos.iso.ISOMsg; import org.jpos.iso.ISOSource; import org.jpos.tra...
src/main/java/BalanceInquiry/transaction/participant/SendInquiryResponse.java
package transaction.participant; import java.io.IOException; import java.io.Serializable; import org.jpos.core.Configurable; import org.jpos.core.Configuration; import org.jpos.core.ConfigurationException; import org.jpos.iso.ISOException; import org.jpos.iso.ISOMsg; import org.jpos.iso.ISOSource; import org.jpos.tra...
Fixed setConfiguration bug in SendInquiryResponse, caused by wrongly named parameter.
src/main/java/BalanceInquiry/transaction/participant/SendInquiryResponse.java
Fixed setConfiguration bug in SendInquiryResponse, caused by wrongly named parameter.
<ide><path>rc/main/java/BalanceInquiry/transaction/participant/SendInquiryResponse.java <ide> } <ide> <ide> @Override <del> public void setConfiguration(Configuration arg0) throws ConfigurationException { <add> public void setConfiguration(Configuration cfg) throws ConfigurationException { <ide> this.cfg = cfg; <i...
Java
lgpl-2.1
2c794f0f1fc01cce8af27dae5c4cc75d386945ec
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
lib/servletsrc/com/exedio/cope/pattern/DataServlet.java
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
fix web.xml snippet git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@2831 e7d4fc99-c606-0410-b9bf-843393a9eab7
lib/servletsrc/com/exedio/cope/pattern/DataServlet.java
fix web.xml snippet
<ide><path>ib/servletsrc/com/exedio/cope/pattern/DataServlet.java <ide> * <ide> * <pre> <ide> * &lt;servlet&gt; <del> * &lt;servlet-name&gt;admin&lt;/servlet-name&gt; <add> * &lt;servlet-name&gt;data&lt;/servlet-name&gt; <ide> * &lt;servlet-class&gt;com.exedio.cope.pattern.DataServlet&lt;/servlet-class&g...
Java
apache-2.0
807518c287af5e0341f879d8758d27c1b1bb4aa2
0
mta452/Tehreer-Android,mta452/Tehreer-Android,mta452/Tehreer-Android
/* * Copyright (C) 2016-2018 Muhammad Tayyab Akram * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
tehreer-android/src/main/java/com/mta/tehreer/graphics/Renderer.java
/* * Copyright (C) 2016-2018 Muhammad Tayyab Akram * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
[lib] Added skipped parameter documentation
tehreer-android/src/main/java/com/mta/tehreer/graphics/Renderer.java
[lib] Added skipped parameter documentation
<ide><path>ehreer-android/src/main/java/com/mta/tehreer/graphics/Renderer.java <ide> /** <ide> * Sets the direction in which the pen will advance after drawing a glyph. The default value is <ide> * {@link WritingDirection#LEFT_TO_RIGHT}. <add> * <add> * @param writingDirection The new writing dire...
Java
mit
c325fc7e46446a63ccebe1f639f8834cba3d802e
0
conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5
package com.conveyal.r5.util; import com.conveyal.analysis.datasource.DataSourceException; import com.conveyal.analysis.datasource.SpatialAttribute; import org.geotools.data.DataStore; import org.geotools.data.DataStoreFinder; import org.geotools.data.FeatureSource; import org.geotools.data.Query; import org.geotools....
src/main/java/com/conveyal/r5/util/ShapefileReader.java
package com.conveyal.r5.util; import com.conveyal.analysis.datasource.DataSourceException; import com.conveyal.analysis.datasource.SpatialAttribute; import org.geotools.data.DataStore; import org.geotools.data.DataStoreFinder; import org.geotools.data.FeatureSource; import org.geotools.data.Query; import org.geotools....
general purpose ShapefileReader attribute methods list all attributes assignable to a certain class; find attribute by name, validating type
src/main/java/com/conveyal/r5/util/ShapefileReader.java
general purpose ShapefileReader attribute methods
<ide><path>rc/main/java/com/conveyal/r5/util/ShapefileReader.java <ide> return source.getBounds(); <ide> } <ide> <add> public List<String> attributesAssignableTo (Class<?> theClass) { <add> return features.getSchema() <add> .getAttributeDescriptors() <add> .stream() ...
Java
apache-2.0
6a028641f8e796e0053a1ce678a48dc58def05a7
0
RackerWilliams/xercesj,RackerWilliams/xercesj,RackerWilliams/xercesj
/* * 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 ...
src/org/apache/xerces/impl/xs/XSDAssertionValidator.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 ...
committing a slight fix for schema 1.1 assertions. when complexType's with simpleContent are derived by extension, the earlier codebase in SVN evaluated certain assertions twice. this commit solves this problem. git-svn-id: 39602be06c88ea89c23a8a9fd3d1314146990de6@1083824 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/xerces/impl/xs/XSDAssertionValidator.java
committing a slight fix for schema 1.1 assertions. when complexType's with simpleContent are derived by extension, the earlier codebase in SVN evaluated certain assertions twice. this commit solves this problem.
<ide><path>rc/org/apache/xerces/impl/xs/XSDAssertionValidator.java <ide> import org.apache.xerces.xni.XMLString; <ide> import org.apache.xerces.xni.XNIException; <ide> import org.apache.xerces.xs.XSComplexTypeDefinition; <add>import org.apache.xerces.xs.XSConstants; <ide> import org.apache.xerces.xs.XSMultiValueFacet; ...
Java
mit
e11e26b6bddc3d252bfb550446341c387e3177f0
0
nuno-azevedo/video-streaming-ice
import VideoStreaming.Stream; import java.util.Scanner; public class Client { public static VideoStreaming.PortalPrx portal; public static void main(String args[]) { int status = 0; Ice.Communicator ic = null; try { ic = Ice.Util.initialize(args); Ice.ObjectPrx ...
src/main/java/Client.java
import VideoStreaming.Stream; import java.util.Scanner; import static java.lang.String.join; public class Client { public static VideoStreaming.PortalPrx portal; public static void main(String args[]) { int status = 0; Ice.Communicator ic = null; try { ic = Ice.Util.initia...
Fix in string join Signed-off-by: Nuno Azevedo <8c1e4f9df2ead62a44323c12422702b1d8dd9c90@gmail.com>
src/main/java/Client.java
Fix in string join
<ide><path>rc/main/java/Client.java <ide> import VideoStreaming.Stream; <ide> import java.util.Scanner; <del> <del>import static java.lang.String.join; <ide> <ide> public class Client { <ide> public static VideoStreaming.PortalPrx portal; <ide> s.getEndpoint().getTransport() + "://" + s.getEndpoint...
Java
mit
62a8d9629231487ff7dd8f4b641c889794975148
0
oskopek/TransportEditor,oskopek/TransportEditor,oskopek/TransportEditor,oskopek/TransportEditor
package com.oskopek.transporteditor.planners.benchmark.data; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.google.common.collect.ArrayTable; import com.oskopek.transporteditor.model.plan.Plan; import com.oskopek.transporteditor.model.plan...
transporteditor-editor/src/main/java/com/oskopek/transporteditor/planners/benchmark/data/BenchmarkResults.java
package com.oskopek.transporteditor.planners.benchmark.data; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.google.common.collect.ArrayTable; import com.oskopek.transporteditor.model.plan.Plan; import com.oskopek.transporteditor.model.plan...
Fixed checkstyle
transporteditor-editor/src/main/java/com/oskopek/transporteditor/planners/benchmark/data/BenchmarkResults.java
Fixed checkstyle
<ide><path>ransporteditor-editor/src/main/java/com/oskopek/transporteditor/planners/benchmark/data/BenchmarkResults.java <ide> import com.oskopek.transporteditor.persistence.TemporalPlanIO; <ide> <ide> import java.util.Arrays; <del>import java.util.Collections; <ide> import java.util.List; <ide> import java.util.strea...
Java
bsd-2-clause
c10a929307c3f351940e077981d9675e9246eee7
0
balcirakpeter/perun,martin-kuba/perun,jirmauritz/perun,zoraseb/perun,zoraseb/perun,stavamichal/perun,jirmauritz/perun,Laliska/perun,zoraseb/perun,Natrezim/perun,balcirakpeter/perun,balcirakpeter/perun,ondrejvelisek/perun,dsarman/perun,zlamalp/perun,stavamichal/perun,jirmauritz/perun,CESNET/perun,stavamichal/perun,liceh...
package cz.metacentrum.perun.core.impl.modules.attributes; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributesManager; import cz.metacentrum.perun.core.api.User; import cz.metacentrum.perun.core.api.exceptions.Interna...
perun-core/src/main/java/cz/metacentrum/perun/core/impl/modules/attributes/urn_perun_user_attribute_def_def_login_namespace_vsup.java
package cz.metacentrum.perun.core.impl.modules.attributes; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributesManager; import cz.metacentrum.perun.core.api.User; import cz.metacentrum.perun.core.api.exceptions.Interna...
CORE: Some values are not permitted for VŠUP login
perun-core/src/main/java/cz/metacentrum/perun/core/impl/modules/attributes/urn_perun_user_attribute_def_def_login_namespace_vsup.java
CORE: Some values are not permitted for VŠUP login
<ide><path>erun-core/src/main/java/cz/metacentrum/perun/core/impl/modules/attributes/urn_perun_user_attribute_def_def_login_namespace_vsup.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <add>import java.util.Arrays; <add>import java.util.HashSet; <add>import java.util.Set; <add> <ide> ...
Java
apache-2.0
2d29f8862302393c49922a77cd7cce3e4cead6ce
0
subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai
package io.subutai.core.metric.impl; import java.io.PrintStream; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutorService; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import org.junit.Before; import org.junit.Ignore; i...
management/server/core/metric/metric-impl/src/test/java/io/subutai/core/metric/impl/MonitorImplTest.java
package io.subutai.core.metric.impl; import java.io.PrintStream; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutorService; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import org.junit.Before; import org.junit.Ignore; i...
minor fixes. SS-3083
management/server/core/metric/metric-impl/src/test/java/io/subutai/core/metric/impl/MonitorImplTest.java
minor fixes. SS-3083
<ide><path>anagement/server/core/metric/metric-impl/src/test/java/io/subutai/core/metric/impl/MonitorImplTest.java <ide> import io.subutai.common.peer.EnvironmentContainerHost; <ide> import io.subutai.common.peer.Host; <ide> import io.subutai.common.peer.HostNotFoundException; <add>import io.subutai.common.peer.LocalPe...
Java
apache-2.0
348bc2a49280c31e5eb1710244065b614d733f67
0
glowroot/glowroot,glowroot/glowroot,trask/glowroot,trask/glowroot,trask/glowroot,trask/glowroot,glowroot/glowroot,glowroot/glowroot
/* * Copyright 2011-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
ui/src/main/java/org/glowroot/ui/TransactionJsonService.java
/* * Copyright 2011-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix throughput live aggregate
ui/src/main/java/org/glowroot/ui/TransactionJsonService.java
Fix throughput live aggregate
<ide><path>i/src/main/java/org/glowroot/ui/TransactionJsonService.java <ide> } <ide> lastThroughputAggregate = throughputAggregate; <ide> long from = throughputAggregate.captureTime() - dataPointIntervalMillis; <del> // this math is to deal with active aggregate <del> ...
JavaScript
agpl-3.0
668c0279610138c3460a933bb2462b273cf3cb3e
0
vatesfr/xo-web,vatesfr/xo-web,lmcro/xo-web,lmcro/xo-web,fbeauchamp/xo-web,LamaDelRay/xo-web,lmcro/xo-web,borestad/xo-web,fbeauchamp/xo-web,borestad/xo-web,LamaDelRay/xo-web
/** * This file is a part of Xen Orchestra Web. * * Xen Orchestra Web 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. * ...
public/js/xo.js
/** * This file is a part of Xen Orchestra Web. * * Xen Orchestra Web 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. * ...
WebSocket over HTTPS support.
public/js/xo.js
WebSocket over HTTPS support.
<ide><path>ublic/js/xo.js <ide> $(function () { <ide> var loc = window.location; <ide> <add> var protocol = ('https:' === loc.protocol) ? 'wss' : 'ws'; <add> var host = loc.host; <add> var path = loc.pathname; <add> <ide> app.start({ <del> 'xo': new XO('ws://'+ loc.host + loc.pathname +'api/'), <add> 'xo':...
JavaScript
mit
ae36c32d108b1a84472aa13be5b6355acaf4f1ca
0
ebryn/ember-turbolinks,ebryn/ember-turbolinks
let turboRoutes = []; Ember.RouterDSL.prototype.turboify = function(name, url, options = {}) { if (!name || !url) { throw new Error("You must provide at least a name and URL to `turboify`"); } this.route(name, options); turboRoutes.push([name, url, options]); }; Ember.Router.reopen({ setupRouter() { let...
app/initializers/-ember-turbolinks.js
let turboRoutes = []; Ember.RouterDSL.prototype.turboify = function(name, url, options = {}) { if (!name || !url) { throw new Error("You must provide at least a name and URL to `turboify`"); } this.route(name, options); turboRoutes.push([name, url, options]); }; Ember.Router.reopen({ setupRouter() { let...
fixed a babel parse error
app/initializers/-ember-turbolinks.js
fixed a babel parse error
<ide><path>pp/initializers/-ember-turbolinks.js <ide> }, <ide> <ide> _handleResponse(html) { <del> let html = this._extractHTML(this.turboSelector, html) <del> this.$().html(html); <add> let extractHTML = this._extractHTML(this.turboSelector, html); <add> this.$().html(extractHTML); <ide> this._set...
Java
apache-2.0
8ac2839ad5f525eee2f40fa6e267e1f4fde8c190
0
vibe13/geronimo,apache/geronimo,apache/geronimo,vibe13/geronimo,meetdestiny/geronimo-trader,meetdestiny/geronimo-trader,apache/geronimo,meetdestiny/geronimo-trader,vibe13/geronimo,vibe13/geronimo,apache/geronimo
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanInfo.java
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
Added the ability to precreate the targets git-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@44495 13f79535-47bb-0310-9956-ffa450edef68
modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanInfo.java
Added the ability to precreate the targets
<ide><path>odules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanInfo.java <ide> * and once the MBean is deployed an imutable copy of will be made. This class also adds support for multi target <ide> * POJOs under the MBean. <ide> * <del> * @version $Revision: 1.5 $ $Date: 2003/11/11 16:00:59 $ <ad...
Java
agpl-3.0
ad3fb5620cc7f48c10c0aa0f7dac3a670b5893e4
0
splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceeng...
package org.apache.derby.impl.sql.execute.operations.joins; import com.google.common.collect.Maps; import com.splicemachine.derby.test.framework.DefaultedSpliceWatcher; import com.splicemachine.derby.test.framework.SpliceDataWatcher; import com.splicemachine.derby.test.framework.SpliceSchemaWatcher; import com.splicem...
structured_derby/src/test/java/org/apache/derby/impl/sql/execute/operations/joins/InnerJoinTest.java
package org.apache.derby.impl.sql.execute.operations.joins; import com.google.common.collect.Maps; import com.splicemachine.derby.test.framework.DefaultedSpliceWatcher; import com.splicemachine.derby.test.framework.SpliceDataWatcher; import com.splicemachine.derby.test.framework.SpliceSchemaWatcher; import com.splicem...
Add test for bug 779
structured_derby/src/test/java/org/apache/derby/impl/sql/execute/operations/joins/InnerJoinTest.java
Add test for bug 779
<ide><path>tructured_derby/src/test/java/org/apache/derby/impl/sql/execute/operations/joins/InnerJoinTest.java <ide> } <ide> <ide> @Test <add> public void testMergeSortJoinOverIndexScan() throws Exception { <add> ResultSet rs = methodWatcher.executeQuery( <add> "select c.schemaid from ...